X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/ClickRepeater.html diff --git a/docs/source/ClickRepeater.html b/docs/source/ClickRepeater.html index bad9e112..c5a2bbc8 100644 --- a/docs/source/ClickRepeater.html +++ b/docs/source/ClickRepeater.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @class Ext.util.ClickRepeater
* @extends Ext.util.Observable
*
@@ -23,21 +40,21 @@ Ext.define('Ext.util.ClickRepeater', {
Ext.apply(this, config);
this.addEvents(
- /**
+ /**
* @event mousedown
* Fires when the mouse button is depressed.
* @param {Ext.util.ClickRepeater} this
* @param {Ext.EventObject} e
*/
"mousedown",
- /**
+ /**
* @event click
* Fires on a specified interval during the time the element is pressed.
* @param {Ext.util.ClickRepeater} this
* @param {Ext.EventObject} e
*/
"click",
- /**
+ /**
* @event mouseup
* Fires when the mouse key is released.
* @param {Ext.util.ClickRepeater} this
@@ -59,42 +76,42 @@ Ext.define('Ext.util.ClickRepeater', {
this.callParent();
},
- /**
+ /**
* @cfg {Mixed} el The element to act as a button.
*/
- /**
+ /**
* @cfg {String} pressedCls A CSS class name to be applied to the element while pressed.
*/
- /**
+ /**
* @cfg {Boolean} accelerate True if autorepeating should start slowly and accelerate.
* "interval" and "delay" are ignored.
*/
- /**
+ /**
* @cfg {Number} interval The interval between firings of the "click" event. Default 20 ms.
*/
interval : 20,
- /**
+ /**
* @cfg {Number} delay The initial delay before the repeating event begins firing.
* Similar to an autorepeat key delay.
*/
delay: 250,
- /**
+ /**
* @cfg {Boolean} preventDefault True to prevent the default click event
*/
preventDefault : true,
- /**
+ /**
* @cfg {Boolean} stopDefault True to stop the default click event
*/
stopDefault : false,
timer : 0,
- /**
+ /**
* Enables the repeater and allows events to fire.
*/
enable: function(){
@@ -110,7 +127,7 @@ Ext.define('Ext.util.ClickRepeater', {
this.disabled = false;
},
- /**
+ /**
* Disables the repeater and stops events from firing.
*/
disable: function(/* private */ force){
@@ -125,7 +142,7 @@ Ext.define('Ext.util.ClickRepeater', {
this.disabled = true;
},
- /**
+ /**
* Convenience function for setting disabled/enabled by boolean.
* @param {Boolean} disabled
*/
@@ -229,4 +246,6 @@ Ext.define('Ext.util.ClickRepeater', {
this.fireEvent("mouseup", this, e);
}
});
-
\ No newline at end of file
+
+
+