new ludo.form.Button(config)
TODO specify which form the button belongs to. used for disableOnInvalid
Button component
The button class extends ludo.form.Element
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object |
Properties
|
- Source:
Fires:
- ludo.form.Button#click Fired on click. Arguments: 1) valud, 2) ludo.form.event:Button
Methods
-
click() → {undefined|Boolean}
-
Trigger click on button
- Source:
Returns:
- Type
- undefined | Boolean
-
getToggleGroup() → {Object}
-
Return instance of ludo.form.ToggleGroup
- Source:
Returns:
ludo.form.ToggleGroup
- Type
- Object