Sets the click mode of the button. Possible values: 'hover', 'press', 'release', 'pressAndRelease'.
Set the clickMode property.
clickMode
let repeatButton = document.querySelector('jqx-repeat-button');
repeatButton.clickMode = 'release';
Get the clickMode property.
let clickMode = repeatButton.clickMode;
Sets the delay between repeats in miliseconds.
Set the delay property.
delay
repeatButton.delay = 100;
Get the delay property.
let delay = repeatButton.delay;
Enables or disables the ratio button.
Set the disabled property.
disabled
repeatButton.disabled = false;
Get the disabled property.
let disabled = repeatButton.disabled;
Sets a delay before the first repeat iteration in miliseconds.
Set the initialDelay property.
initialDelay
repeatButton.initialDelay = 500;
Get the initialDelay property.
let initialDelay = repeatButton.initialDelay;
Sets the inner HTML of the element.
Set the innerHTML property.
innerHTML
repeatButton.innerHTML = 'New Repeat Button Label';
Get the innerHTML property.
let innerHTML = repeatButton.innerHTML;
Sets or gets the widget's name.
Set the name property.
name
repeatButton.name = 'New Name';
Get the name property.
let name = repeatButton.name;
If the custom element is readonly, it cannot be interacted with.
Set the readonly property.
readonly
repeatButton.readonly = false;
Get the readonly property.
let readonly = repeatButton.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
repeatButton.rightToLeft = false;
Get the rightToLeft property.
let rightToLeft = repeatButton.rightToLeft;
Sets or gets the widget's value.
Set the value property.
value
repeatButton.value = 'New Value';
Get the value property.
let value = repeatButton.value;
This event is triggered when the element is clicked.
Bind to the click event by type: jqxRepeatButton
click
repeatButton.addEventListener('click', function (event) { // event handling code goes here. }