repeat property (event)
Sets or retrieves a Boolean value that indicates whether the onkeydown event is being repeated (a key has been down long enough).
You can find the related objects in the Supported by objects section below.
The repeat property is read-only, except if the event object is created with the createEventObject method when it is read/write.
Boolean that indicates whether the onkeydown event is being repeated.
One of the following values:
|Event is fired only once.|
|Event is fired more than once and the onkeyup event is fired meanwhile.|
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the repeat property:
Did you find this example helpful?
User Contributed Comments