Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Button

Hierarchy

  • Button

Index

Constructors

constructor

  • new Button(ctx: Context, self: ButtonComponent, id: string): Button

Properties

Protected ctx

ctx: Context

id

id: string

Protected self

self: ButtonComponent

Methods

disable

  • disable(disabled?: boolean): Button

exit

onClick

setContent

  • setContent(content: string): Button

setStyle

  • setStyle(style: "Primary" | "Secondary" | "Success" | "Danger" | "Link"): Button

setUrl