Constructors
constructor
- new Button(ctx: Context, self: ButtonComponent, id: string): Button
Parameters
self: ButtonComponent
id: string
Properties
Protected self
self: ButtonComponent
Methods
disable
- disable(disabled?: boolean): Button
setContent
- setContent(content: string): Button
setStyle
- setStyle(style: "Primary" | "Secondary" | "Success" | "Danger" | "Link"): Button
Parameters
style: "Primary" | "Secondary" | "Success" | "Danger" | "Link"