Sets the click mode of the button. Possible values: 'hover', 'press', 'release', 'pressAndRelease'.
Set the clickMode property.
clickMode
let button = document.querySelector('jqx-button');
button.clickMode = 'release';
Get the clickMode property.
let clickMode = button.clickMode;
Sets the content of the element.
Set the content property.
content
button.content = New Button Label;
Get the content property.
let content = button.content;
Enables or disables the button.
Set the disabled property.
disabled
button.disabled = false;
Get the disabled property.
let disabled = button.disabled;
Sets the inner HTML of the element.
Set the innerHTML property.
innerHTML
button.innerHTML = 'New Button Label';
Get the innerHTML property.
let innerHTML = button.innerHTML;
Sets or gets the widget's name.
Set the name property.
name
button.name = 'New Name';
Get the name property.
let name = button.name;
If the custom element is readonly, it cannot be interacted with.
Set the readonly property.
readonly
button.readonly = false;
Get the readonly property.
let readonly = button.readonly;
Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts.
Set the rightToLeft property.
rightToLeft
button.rightToLeft = false;
Get the rightToLeft property.
let rightToLeft = button.rightToLeft;
Sets the type of the button
Set the type property.
type
button.type = 'reset';
Get the type property.
let type = button.type;
Sets or gets the button's value.
Set the value property.
value
button.value = 'New value';
Get the value property.
let value = button.value;