Skip to content

4.3 Button

Jonas de Luna Skulberg edited this page Oct 15, 2023 · 1 revision

Button

Extends:

  • none

Implements:

Parameters:

Required:

  • none

Optional:

  • label: string Text content of the button.

Default Parameters:

label: ""

Implemented Methods:

  • none

Methods

  • addObserver(observer: () => void) Adds an onClick listener to the Button.
  • removeObserver(observer: () => void) Removes an observer from the Button.
Clone this wiki locally