client/js/foundation/control/eventresponder/eventresponder.js in rsence-pre-3.0.0.10 vs client/js/foundation/control/eventresponder/eventresponder.js in rsence-pre-3.0.0.11
- old
+ new
@@ -437,9 +437,23 @@
this.events.textEnter = _flag;
this.setEvents();
return this;
},
+/** = Description
+ * Registers or releases event listening for resize events
+ * depending on the value of the flag argument.
+ *
+ * = Returns
+ * +self+
+ *
+ **/
+ setResize: function(_flag) {
+ this.events.resize = _flag;
+ this.setEvents();
+ return this;
+ },
+
/** Same as +setClickable+
**/
setClick: function(_flag) {
return this.setClickable(_flag);
},