Name | Type | Default | |||||
---|---|---|---|---|---|---|---|
delay | Number | 50 | |||||
Specifies the interval between two Click events. This property is available only in the jqxRepeatButton. The jqxRepeatButton raises Click events repeatedly when the button is pressed. Code examples
Set the
Get the
Try it: delay is set to 50
|
|||||||
disabled | Boolean | false | |||||
Enables or disables the button. Code examples
Set the
Get the
Try it: disable is set to true
|
|||||||
height | Number/String | null | |||||
Sets or gets the button's height. Code examples
Set the
Get the
Try it: height is set to '40px'
|
|||||||
imgSrc | String | "" | |||||
Sets or gets the button's image source. Code examples
Set the
Get the
|
|||||||
imgWidth | Number | 16 | |||||
Sets or gets the button's image width. Code examples
Set the
Get the
Try it: imgWidth is set to 16
|
|||||||
imgHeight | Number | 16 | |||||
Sets or gets the button's image height. Code examples
Set the
Get the
Try it: imgHeight is set to 16
|
|||||||
imgPosition | String | "center" | |||||
Sets or gets the button's image position. Possible values: "left", "top", "center", "bottom", "right", "topLeft", "bottomLeft", "topRight", "bottomRight". Code examples
Set the
Get the
Try it: imgPosition is set to "left"
|
|||||||
roundedCorners | String | 'jqx-rc-all' | |||||
Enables or disables the rounded corners functionality. This property setting has effect in browsers which support CSS border-radius. Possible Values:
Code examples
Set the
Get the
Try it: roundedCorners is set to 'all'
|
|||||||
rtl | Boolean | false | |||||
Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts. Code example
Set the
Get the
Try it: rtl is set to true
|
|||||||
textPosition | String | "" | |||||
Sets or gets the button's text position. Possible values: "left", "top", "center", "bottom", "right", "topLeft", "bottomLeft", "topRight", "bottomRight". Code examples
Set the
Get the
Try it: textPosition is set to "left"
|
|||||||
textImageRelation | String | "overlay" | |||||
Sets or gets the button's text image relation. Possible values: "imageBeforeText", "imageAboveText", "textAboveImage", "textBeforeImage" and "overlay". Code examples
Set the
Get the
|
|||||||
theme | String | '' | |||||
Sets the widget's theme. jQWidgets uses a pair of css files - jqx.base.css and jqx.[theme name].css. The base stylesheet creates the styles related to the widget's layout like margin, padding, border-width, position. The second css file applies the widget's colors and backgrounds. The jqx.base.css should be included before the second CSS file. In order to set a theme, you need to do the following:
Try it: theme is set to 'energyblue'
|
|||||||
template | String | 'default' | |||||
Determines the button's template as an alternative of the default styles. Possible Values:
Code examples
Set the
Get the
Try it: template is set to 'success'
|
|||||||
toggled | Boolean | false | |||||
Sets or gets the button's toggle state. ( available in jqxToggleButton ). Code examples
Set the
Get the
Try it: toggled is set to true
|
|||||||
width | Number/String | null | |||||
Sets ot gets the button's width. Code examples
Set the
Get the
Try it: width is set to '240px'
|
|||||||
value | String | "" | |||||
Sets or gets the button's value. Code examples
Set the
Get the
Try it: value is set to "Button"
|
|||||||
Events |
|||||||
click | Event | ||||||
This event is triggered when the button is clicked. Code examples
Bind to the
|
|||||||
Methods |
|||||||
check | Method | ||||||
Checks the button. ( available in jqxToggleButton ).
None Code examples
Invoke the
Try it: check the button
|
|||||||
destroy | Method | ||||||
Destroys the widget.
None Code examples
Invoke the
Try it: destroys the button
|
|||||||
focus | Method | ||||||
Focuses the widget.
None Code examples
Invoke the
Try it: focus the button
|
|||||||
render | Method | ||||||
Renders the widget.
None Code examples
Invoke the
Try it: render the button
|
|||||||
toggle | Method | ||||||
Toggles the button's checked state. ( available in jqxToggleButton ).
None Code examples
Invoke the
Try it: toggle the button
|
|||||||
unCheck | Method | ||||||
Unchecks the button. ( available in jqxToggleButton ).
None Code examples
Invoke the
Try it: uncheck the button
|
|||||||
val | Method | ||||||
Sets or gets the value.
String Code example
Invoke the
// Get the value using jQuery's val()
// Set value.
// Set value using jQuery's val().
Try it: invoke the val method
|