Name | Type | Default |
---|---|---|
disabled | Boolean | false |
Enables or disables the button.
|
||
height | String | Number | null |
Sets or gets the button's height.
|
||
imgSrc | String | '' |
Sets or gets the button's image source.
|
||
imgWidth | Number | 16 |
Sets or gets the button's image width.
|
||
imgHeight | Number | 16 |
Sets or gets the button's image height.
|
||
imgPosition | String | 'center' |
Sets or gets the button's image position. Possible values: "left", "top", "center", "bottom", "right", "topLeft", "bottomLeft", "topRight", "bottomRight".
|
||
roundedCorners | String | all |
Enables or disables the rounded corners functionality. This property setting has effect in browsers which support CSS border-radius. Possible Values:
|
||
rtl | Boolean | false |
Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts.
|
||
textPosition | String | '' |
Sets or gets the button's text position. Possible values: "left", "top", "center", "bottom", "right", "topLeft", "bottomLeft", "topRight", "bottomRight".
|
||
textImageRelation | String | 'overlay' |
Sets or gets the button's text image relation. Possible values: "imageBeforeText", "imageAboveText", "textAboveImage", "textBeforeImage" and "overlay".
|
||
theme | String | '' |
Sets the widget's theme.
|
||
template | String | 'default' |
Determines the button's template as an alternative of the default styles. Possible Values:
|
||
width | String | Number | null |
Sets ot gets the button's width.
|
||
value | String | '' |
Sets or gets the button's value.
|
||
Events |
||
click | Event | |
This event is triggered when the button is clicked. Code examples
Bind to the
|
||
Methods |
||
Name | Arguments | Return Type |
destroy | None | None |
Destroys the widget.
|
||
focus | None | None |
Focuses the widget.
|
||
render | None | None |
Renders the widget.
|
||
val | value | String |
Sets or gets the value.
|