Properties Methods Events Config Options Direct Link
Observable
  ClickRepeater

Class Ext.util.ClickRepeater

Package:Ext.util
Defined In:ClickRepeater.js
Class:ClickRepeater
Extends:Observable
A wrapper class which can be applied to any element. Fires a "click" event while the mouse is pressed. The interval between firings may be specified in the config but defaults to 20 milliseconds. Optionally, a CSS class may be applied to the element during the time it is pressed.

Config Options

Config OptionsDefined By
 accelerate : Boolean
True if autorepeating should start slowly and accelerate. "interval" and "delay" are ignored.
ClickRepeater
 delay : Number
The initial delay before the repeating event begins firing. Similar to an autorepeat key delay.
ClickRepeater
 el : Mixed
The element to act as a button.
ClickRepeater
 interval : Number
The interval between firings of the "click" event. Default 20 ms.
ClickRepeater
 pressClass : String
A CSS class name to be applied to the element while pressed.
ClickRepeater
 preventDefault : Boolean
True to prevent the default click event
ClickRepeater
 stopDefault : Boolean
True to stop the default click event
ClickRepeater

Public Properties

This class has no public properties.

Public Methods

MethodDefined By

Public Events

EventDefined By