<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
- <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="../prettify/prettify.js"></script>
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="text/css">
.highlight { display: block; background-color: #ddd; }
</style>
</script>
</head>
<body onload="prettyPrint(); highlight();">
- <pre class="prettyprint lang-js"><span id='Ext-util-ClickRepeater-method-constructor'><span id='Ext-util-ClickRepeater'>/**
-</span></span> * @class Ext.util.ClickRepeater
+ <pre class="prettyprint lang-js"><span id='Ext-util-ClickRepeater'>/**
+</span> * @class Ext.util.ClickRepeater
* @extends Ext.util.Observable
*
* A wrapper class which can be applied to any element. Fires a "click" event while the
*
* Optionally, a CSS class may be applied to the element during the time it is pressed.
*
- * @constructor
- * @param {Mixed} el The element to listen on
- * @param {Object} config
*/
-
Ext.define('Ext.util.ClickRepeater', {
extend: 'Ext.util.Observable',
+<span id='Ext-util-ClickRepeater-method-constructor'> /**
+</span> * Creates new ClickRepeater.
+ * @param {String/HTMLElement/Ext.Element} el The element or its ID to listen on
+ * @param {Object} config (optional) Config object.
+ */
constructor : function(el, config){
this.el = Ext.get(el);
this.el.unselectable();
},
<span id='Ext-util-ClickRepeater-cfg-el'> /**
-</span> * @cfg {Mixed} el The element to act as a button.
+</span> * @cfg {String/HTMLElement/Ext.Element} el The element to act as a button.
*/
<span id='Ext-util-ClickRepeater-cfg-pressedCls'> /**