Alien-Web-ExtJS-V3

 view release on metacpan or  search on metacpan

share/docs/source/Ext.html  view on Meta::CPAN

        }
    };

    // remove css image flicker
    if(isIE6){
        try{
            DOC.execCommand("BackgroundImageCache", false, true);
        }catch(e){}
    }

    Ext.apply(Ext, {
<span id='Ext-property-SSL_SECURE_URL'>        /**
</span>         * URL to a blank file used by Ext when in secure mode for iframe src and onReady src to prevent
         * the IE insecure content warning (&lt;tt&gt;'about:blank'&lt;/tt&gt;, except for IE in secure mode, which is &lt;tt&gt;'javascript:&quot;&quot;'&lt;/tt&gt;).
         * @type String
         */
        SSL_SECURE_URL : isSecure &amp;&amp; isIE ? 'javascript:&quot;&quot;' : 'about:blank',
<span id='Ext-property-isStrict'>        /**
</span>         * True if the browser is in strict (standards-compliant) mode, as opposed to quirks mode
         * @type Boolean
         */
        isStrict : isStrict,
<span id='Ext-property-isSecure'>        /**
</span>         * True if the page is running over SSL
         * @type Boolean
         */
        isSecure : isSecure,
<span id='Ext-property-isReady'>        /**
</span>         * True when the document is fully initialized and ready for action
         * @type Boolean
         */
        isReady : false,

<span id='Ext-property-enableFx'>        /**
</span>         * True if the {@link Ext.Fx} Class is available
         * @type Boolean
         * @property enableFx
         */

<span id='Ext-property-enableForcedBoxModel'>        /**
</span>         * HIGHLY EXPERIMENTAL
         * True to force css based border-box model override and turning off javascript based adjustments. This is a
         * runtime configuration and must be set before onReady.
         * @type Boolean
         */
        enableForcedBoxModel : false,

<span id='Ext-property-enableGarbageCollector'>        /**
</span>         * True to automatically uncache orphaned Ext.Elements periodically (defaults to true)
         * @type Boolean
         */
        enableGarbageCollector : true,

<span id='Ext-property-enableListenerCollection'>        /**
</span>         * True to automatically purge event listeners during garbageCollection (defaults to false).
         * @type Boolean
         */
        enableListenerCollection : false,

<span id='Ext-property-enableNestedListenerRemoval'>        /**
</span>         * EXPERIMENTAL - True to cascade listener removal to child elements when an element is removed.
         * Currently not optimized for performance.
         * @type Boolean
         */
        enableNestedListenerRemoval : false,

<span id='Ext-property-USE_NATIVE_JSON'>        /**
</span>         * Indicates whether to use native browser parsing for JSON methods.
         * This option is ignored if the browser does not support native JSON methods.
         * &lt;b&gt;Note: Native JSON methods will not work with objects that have functions.
         * Also, property names must be quoted, otherwise the data will not parse.&lt;/b&gt; (Defaults to false)
         * @type Boolean
         */
        USE_NATIVE_JSON : false,

<span id='Ext-method-applyIf'>        /**
</span>         * Copies all the properties of config to obj if they don't already exist.
         * @param {Object} obj The receiver of the properties
         * @param {Object} config The source of the properties
         * @return {Object} returns obj
         */
        applyIf : function(o, c){
            if(o){
                for(var p in c){
                    if(!Ext.isDefined(o[p])){
                        o[p] = c[p];
                    }
                }
            }
            return o;
        },

<span id='Ext-method-id'>        /**
</span>         * Generates unique ids. If the element already has an id, it is unchanged
         * @param {Mixed} el (optional) The element to generate an id for
         * @param {String} prefix (optional) Id prefix (defaults &quot;ext-gen&quot;)
         * @return {String} The generated Id.
         */
        id : function(el, prefix){
            el = Ext.getDom(el, true) || {};
            if (!el.id) {
                el.id = (prefix || &quot;ext-gen&quot;) + (++idSeed);
            }
            return el.id;
        },

<span id='Ext-method-extend'>        /**
</span>         * &lt;p&gt;Extends one class to create a subclass and optionally overrides members with the passed literal. This method
         * also adds the function &quot;override()&quot; to the subclass that can be used to override members of the class.&lt;/p&gt;
         * For example, to create a subclass of Ext GridPanel:
         * &lt;pre&gt;&lt;code&gt;
MyGridPanel = Ext.extend(Ext.grid.GridPanel, {
    constructor: function(config) {

//      Create configuration for this Grid.
        var store = new Ext.data.Store({...});
        var colModel = new Ext.grid.ColumnModel({...});

//      Create a new config object containing our computed properties
//      *plus* whatever was in the config parameter.
        config = Ext.apply({



( run in 0.457 second using v1.01-cache-2.11-cpan-0bd6704ced7 )