Class that wraps button's functionality.
Optional data: ButtonWrapper | Partial<ButtonData>Either an interface for button styling or the class to be built from.
Private _actionPrivate _dataPrivate _switchAction that is called after the button is pressed.
Ready button.
Button's styling.
Action that is called to switch button's state.
Sets action that is called after the button is pressed.
Action that is called after the button is pressed.
Sets buttons data.
Either an interface for button styling or the class to be built from.
Sets action that is called to switch button's state.
Action that is called to switch button's state.
Converts button styling to JSON-like object.
JSON-like object.
Generated using TypeDoc
Class that wraps button's functionality.