X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/docs/output/Ext.Resizable.html?ds=sidebyside diff --git a/docs/output/Ext.Resizable.html b/docs/output/Ext.Resizable.html index 48104096..576e8749 100644 --- a/docs/output/Ext.Resizable.html +++ b/docs/output/Ext.Resizable.html @@ -1,4 +1,4 @@ -
Properties Methods Events Config Options Direct Link
Observable
  Resizable

Class Ext.Resizable

Package:Ext
Defined In:Resizable.js
Class:Resizable
Extends:Observable

Applies drag handles to an element to make it resizable. The drag handles are inserted into the element +

Observable
  Resizable

Class Ext.Resizable

Package:Ext
Defined In:Resizable.js
Class:Resizable
Extends:Observable

Applies drag handles to an element to make it resizable. The drag handles are inserted into the element and positioned absolute. Some elements, such as a textarea or image, don't support this. To overcome that, you can wrap the textarea in a div and set 'resizeChild' to true (or to the id of the element), or set wrap:true in your config and the element will be wrapped for you automatically.

@@ -156,7 +156,7 @@ Or a shorthand syntax:
: void
Destroys this resizable. If the element was wrapped and removeEl is not true then the element remains.
Destroys this resizable. If the element was wrapped and -removeEl is not true then the element remains.
Parameters:
  • removeEl : Boolean
    (optional) true to remove the element from the DOM
Returns:
  • void
Resizable enableBubbleObject events ) +removeEl is not true then the element remains.
Parameters:
  • removeEl : Boolean
    (optional) true to remove the element from the DOM
Returns:
  • void
Resizable enableBubbleString/Array events ) : void
Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget() if present...

Enables events fired by this Observable to bubble up an owner hierarchy by calling @@ -165,13 +165,13 @@ this.getBubbleTarget() if present...

Enables events fi implementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to access the required target more quickly.

Example:

Ext.override(Ext.form.Field, {
-//  Add functionality to Field's initComponent to enable the change event to bubble

-    initComponent: Ext.form.Field.prototype.initComponent.createSequence(function() {
-        this.enableBubble('change');
+    //  Add functionality to Field's initComponent to enable the change event to bubble

+    initComponent : Ext.form.Field.prototype.initComponent.createSequence(function() {
+        this.enableBubble('change');
     }),
 
-//  We know that we want Field's events to bubble directly to the FormPanel.

-    getBubbleTarget: function() {
+    //  We know that we want Field's events to bubble directly to the FormPanel.

+    getBubbleTarget : function() {
         if (!this.formPanel) {
             this.formPanel = this.findParentByType('form');
         }
@@ -186,11 +186,11 @@ access the required target more quickly.

}], listeners: { change: function() { -// Title goes red if form has been modified. - myForm.header.setStyle("color", "red"); + // Title goes red if form has been modified. + myForm.header.setStyle('color', 'red'); } } -});
Parameters:
  • events : Object
    The event name to bubble, or an Array of event names.
Returns:
  • void
Observable fireEventString eventNameObject... args ) +});
Parameters:
  • events : String/Array
    The event name to bubble, or an Array of event names.
Returns:
  • void
Observable fireEventString eventNameObject... args ) : Boolean
Fires the specified event with the passed parameters (minus the event name). An event may be set to bubble up an Obse...

Fires the specified event with the passed parameters (minus the event name).