亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? element.js

?? ajax最新框架extjs
?? JS
?? 第 1 頁 / 共 5 頁
字號:

    /**
     * Set the width of the element
     * @param {Number} width The new width
     * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
     * @return {Ext.Element} this
     */
    setWidth : function(width, animate){
        width = this.adjustWidth(width);
        if(!animate || !A){
            this.dom.style.width = this.addUnits(width);
        }else{
            this.anim({width: {to: width}}, this.preanim(arguments, 1));
        }
        return this;
    },

    /**
     * Set the height of the element
     * @param {Number} height The new height
     * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
     * @return {Ext.Element} this
     */
     setHeight : function(height, animate){
        height = this.adjustHeight(height);
        if(!animate || !A){
            this.dom.style.height = this.addUnits(height);
        }else{
            this.anim({height: {to: height}}, this.preanim(arguments, 1));
        }
        return this;
    },

    /**
     * Set the size of the element. If animation is true, both width an height will be animated concurrently.
     * @param {Number} width The new width
     * @param {Number} height The new height
     * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
     * @return {Ext.Element} this
     */
     setSize : function(width, height, animate){
        if(typeof width == "object"){ // in case of object from getSize()
            height = width.height; width = width.width;
        }
        width = this.adjustWidth(width); height = this.adjustHeight(height);
        if(!animate || !A){
            this.dom.style.width = this.addUnits(width);
            this.dom.style.height = this.addUnits(height);
        }else{
            this.anim({width: {to: width}, height: {to: height}}, this.preanim(arguments, 2));
        }
        return this;
    },

    /**
     * Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently.
     * @param {Number} x X value for new position (coordinates are page-based)
     * @param {Number} y Y value for new position (coordinates are page-based)
     * @param {Number} width The new width
     * @param {Number} height The new height
     * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
     * @return {Ext.Element} this
     */
    setBounds : function(x, y, width, height, animate){
        if(!animate || !A){
            this.setSize(width, height);
            this.setLocation(x, y);
        }else{
            width = this.adjustWidth(width); height = this.adjustHeight(height);
            this.anim({points: {to: [x, y]}, width: {to: width}, height: {to: height}},
                          this.preanim(arguments, 4), 'motion');
        }
        return this;
    },

    /**
     * Sets the element's position and size the specified region. If animation is true then width, height, x and y will be animated concurrently.
     * @param {Ext.lib.Region} region The region to fill
     * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
     * @return {Ext.Element} this
     */
    setRegion : function(region, animate){
        this.setBounds(region.left, region.top, region.right-region.left, region.bottom-region.top, this.preanim(arguments, 1));
        return this;
    },

    /**
     * Appends an event handler to this element.  The shorthand version {@link #on} is equivalent.
     * @param {String} eventName The type of event to handle
     * @param {Function} fn The handler function the event invokes. This function is passed
     * the following parameters:<ul>
     * <li>evt : EventObject<div class="sub-desc">The {@link Ext.EventObject EventObject} describing the event.</div></li>
     * <li>t : Element<div class="sub-desc">The {@link Ext.Element Element} which was the target of the event.
     * Note that this may be filtered by using the <tt>delegate</tt> option.</div></li>
     * <li>o : Object<div class="sub-desc">The options object from the addListener call.</div></li>
     * </ul>
     * @param {Object} scope (optional) The scope (The <tt>this</tt> reference) of the handler function. Defaults
     * to this Element.
     * @param {Object} options (optional) An object containing handler configuration properties.
     * This may contain any of the following properties:<ul>
     * <li>scope {Object} : The scope in which to execute the handler function. The handler function's "this" context.</li>
     * <li>delegate {String} : A simple selector to filter the target or look for a descendant of the target</li>
     * <li>stopEvent {Boolean} : True to stop the event. That is stop propagation, and prevent the default action.</li>
     * <li>preventDefault {Boolean} : True to prevent the default action</li>
     * <li>stopPropagation {Boolean} : True to prevent event propagation</li>
     * <li>normalized {Boolean} : False to pass a browser event to the handler function instead of an Ext.EventObject</li>
     * <li>delay {Number} : The number of milliseconds to delay the invocation of the handler after te event fires.</li>
     * <li>single {Boolean} : True to add a handler to handle just the next firing of the event, and then remove itself.</li>
     * <li>buffer {Number} : Causes the handler to be scheduled to run in an {@link Ext.util.DelayedTask} delayed
     * by the specified number of milliseconds. If the event fires again within that time, the original
     * handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>
     * </ul><br>
     * <p>
     * <b>Combining Options</b><br>
     * In the following examples, the shorthand form {@link #on} is used rather than the more verbose
     * addListener.  The two are equivalent.  Using the options argument, it is possible to combine different
     * types of listeners:<br>
     * <br>
     * A normalized, delayed, one-time listener that auto stops the event and adds a custom argument (forumId) to the
     * options object. The options object is available as the third parameter in the handler function.<div style="margin: 5px 20px 20px;">
     * Code:<pre><code>
el.on('click', this.onClick, this, {
    single: true,
    delay: 100,
    stopEvent : true,
    forumId: 4
});</code></pre></p>
     * <p>
     * <b>Attaching multiple handlers in 1 call</b><br>
      * The method also allows for a single argument to be passed which is a config object containing properties
     * which specify multiple handlers.</p>
     * <p>
     * Code:<pre><code></p>
el.on({
    'click' : {
        fn: this.onClick,
        scope: this,
        delay: 100
    },
    'mouseover' : {
        fn: this.onMouseOver,
        scope: this
    },
    'mouseout' : {
        fn: this.onMouseOut,
        scope: this
    }
});</code></pre>
     * <p>
     * Or a shorthand syntax:<br>
     * Code:<pre><code></p>
el.on({
    'click' : this.onClick,
    'mouseover' : this.onMouseOver,
    'mouseout' : this.onMouseOut,
    scope: this
});</code></pre>
     */
    addListener : function(eventName, fn, scope, options){
        Ext.EventManager.on(this.dom,  eventName, fn, scope || this, options);
    },

    /**
     * Removes an event handler from this element.  The shorthand version {@link #un} is equivalent.  Example:
     * <pre><code>
el.removeListener('click', this.handlerFn);
// or
el.un('click', this.handlerFn);
</code></pre>
     * @param {String} eventName the type of event to remove
     * @param {Function} fn the method the event invokes
     * @param {Object} scope (optional) The scope (The <tt>this</tt> reference) of the handler function. Defaults
     * to this Element.
     * @return {Ext.Element} this
     */
    removeListener : function(eventName, fn, scope){
        Ext.EventManager.removeListener(this.dom,  eventName, fn, scope || this);
        return this;
    },

    /**
     * Removes all previous added listeners from this element
     * @return {Ext.Element} this
     */
    removeAllListeners : function(){
        Ext.EventManager.removeAll(this.dom);
        return this;
    },

    /**
     * Create an event handler on this element such that when the event fires and is handled by this element,
     * it will be relayed to another object (i.e., fired again as if it originated from that object instead).
     * @param {String} eventName The type of event to relay
     * @param {Object} object Any object that extends {@link Ext.util.Observable} that will provide the context
     * for firing the relayed event
     */
    relayEvent : function(eventName, observable){
        this.on(eventName, function(e){
            observable.fireEvent(eventName, e);
        });
    },

    /**
     * Set the opacity of the element
     * @param {Float} opacity The new opacity. 0 = transparent, .5 = 50% visibile, 1 = fully visible, etc
     * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
     * @return {Ext.Element} this
     */
     setOpacity : function(opacity, animate){
        if(!animate || !A){
            var s = this.dom.style;
            if(Ext.isIE){
                s.zoom = 1;
                s.filter = (s.filter || '').replace(/alpha\([^\)]*\)/gi,"") +
                           (opacity == 1 ? "" : " alpha(opacity=" + opacity * 100 + ")");
            }else{
                s.opacity = opacity;
            }
        }else{
            this.anim({opacity: {to: opacity}}, this.preanim(arguments, 1), null, .35, 'easeIn');
        }
        return this;
    },

    /**
     * Gets the left X coordinate
     * @param {Boolean} local True to get the local css position instead of page coordinate
     * @return {Number}
     */
    getLeft : function(local){
        if(!local){
            return this.getX();
        }else{
            return parseInt(this.getStyle("left"), 10) || 0;
        }
    },

    /**
     * Gets the right X coordinate of the element (element X position + element width)
     * @param {Boolean} local True to get the local css position instead of page coordinate
     * @return {Number}
     */
    getRight : function(local){
        if(!local){
            return this.getX() + this.getWidth();
        }else{
            return (this.getLeft(true) + this.getWidth()) || 0;
        }
    },

    /**
     * Gets the top Y coordinate
     * @param {Boolean} local True to get the local css position instead of page coordinate
     * @return {Number}
     */
    getTop : function(local) {
        if(!local){
            return this.getY();
        }else{
            return parseInt(this.getStyle("top"), 10) || 0;
        }
    },

    /**
     * Gets the bottom Y coordinate of the element (element Y position + element height)
     * @param {Boolean} local True to get the local css position instead of page coordinate
     * @return {Number}
     */
    getBottom : function(local){
        if(!local){
            return this.getY() + this.getHeight();
        }else{
            return (this.getTop(true) + this.getHeight()) || 0;
        }
    },

    /**
    * Initializes positioning on this element. If a desired position is not passed, it will make the
    * the element positioned relative IF it is not already positioned.
    * @param {String} pos (optional) Positioning to use "relative", "absolute" or "fixed"
    * @param {Number} zIndex (optional) The zIndex to apply
    * @param {Number} x (optional) Set the page X position
    * @param {Number} y (optional) Set the page Y position
    */
    position : function(pos, zIndex, x, y){
        if(!pos){
           if(this.getStyle('position') == 'static'){
               this.setStyle('position', 'relative');
           }
        }else{
            this.setStyle("position", pos);
        }
        if(zIndex){
            this.setStyle("z-index", zIndex);
        }
        if(x !== undefined && y !== undefined){
            this.setXY([x, y]);
        }else if(x !== undefined){
            this.setX(x);
        }else if(y !== undefined){
            this.setY(y);
        }
    },

    /**
    * Clear positioning back to the default when the document was loaded
    * @param {String} value (optional) The value to use for the left,right,top,bottom, defaults to '' (empty string). You could use 'auto'.
    * @return {Ext.Element} this
     */
    clearPositioning : function(value){
        value = value ||'';
        this.setStyle({
            "left": value,
            "right": value,
            "top": value,
            "bottom": value,
            "z-index": "",
            "position" : "static"
        });
        return this;
    },

    /**
    * Gets an object with all CSS positioning properties. Useful along with setPostioning to get
    * snapshot before performing an update and then restoring the element.
    * @return {Object}
    */
    getPositioning : function(){
        var l = this.getStyle("left");
        var t = this.getStyle("top");
        return {
            "position" : this.getStyle("position"),
            "left" : l,
            "right" : l ? "" : this.getStyle("right"),
            "top" : t,
            "bottom" : t ? "" : this.getStyle("bottom"),
            "z-index" : this.getStyle("z-index")
        };
    },

    /**
     * Gets the width of the border(s) for the specified side(s)
     * @param {String} side Can be t, l, r, b or any combination of those to add multiple values. For example,
     * passing lr would get the border (l)eft width + the border (r)ight width.
     * @return {Number} The width of the sides passed added together
     */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色天天综合久久久久综合片| 热久久免费视频| 亚洲成av人片一区二区| 奇米精品一区二区三区四区| 国产乱国产乱300精品| 97se亚洲国产综合自在线观| 欧美日韩一区二区三区视频 | 日本不卡一二三| 国产精品一区免费视频| 91小视频在线观看| 88在线观看91蜜桃国自产| 久久美女艺术照精彩视频福利播放| 国产精品每日更新在线播放网址| 亚洲成人av电影在线| 国产精品一二一区| 欧美视频日韩视频在线观看| 欧美成人猛片aaaaaaa| 国产精品初高中害羞小美女文| 日一区二区三区| 国产成人亚洲综合a∨婷婷 | 一区二区三区在线观看国产 | 精品国产亚洲一区二区三区在线观看| 国产精品视频第一区| 日本三级韩国三级欧美三级| 成人激情电影免费在线观看| 日韩一区二区三区在线观看| 国产精品乱码人人做人人爱| 免费精品99久久国产综合精品| 91网站黄www| 久久人人超碰精品| 午夜精品久久久久久久| 99精品视频在线播放观看| 精品久久国产老人久久综合| 亚洲精品视频在线观看网站| 国产乱码一区二区三区| 欧美日韩高清一区| 国产精品久久久久久久久免费樱桃 | 国产精品99久久不卡二区| 91国偷自产一区二区开放时间 | 久久99热99| 欧美日韩精品免费| 亚洲日本中文字幕区| 国内精品免费**视频| 91麻豆精品国产91久久久| 亚洲另类春色校园小说| 国产91丝袜在线播放0| 日韩三级中文字幕| 一区二区三区视频在线看| 国产成人av电影免费在线观看| 欧美一级搡bbbb搡bbbb| 亚洲综合另类小说| 99久久综合精品| 国产亚洲一本大道中文在线| 美女在线一区二区| 欧美日韩国产欧美日美国产精品| 亚洲欧美视频在线观看视频| 成人一区二区在线观看| 久久一区二区视频| 免费高清成人在线| 欧美一区二区视频在线观看2020 | 69久久99精品久久久久婷婷| 亚洲美女视频一区| 不卡的av中国片| 国产视频911| 国产乱色国产精品免费视频| 精品成人在线观看| 久久精品国产免费看久久精品| 欧美日韩国产乱码电影| 亚洲综合视频在线| 日本道精品一区二区三区| 国产精品国产a级| 国产成人av电影在线观看| 精品第一国产综合精品aⅴ| 极品少妇xxxx精品少妇| 精品国产电影一区二区| 韩国毛片一区二区三区| 久久你懂得1024| 国产精品一区二区三区四区| 久久久国产一区二区三区四区小说| 国产一二精品视频| 国产视频视频一区| 成人av手机在线观看| 国产精品另类一区| 色婷婷综合久久久久中文| 亚洲综合丁香婷婷六月香| 日本高清免费不卡视频| 亚洲一区二区三区四区在线观看| 欧美色视频在线| 秋霞午夜鲁丝一区二区老狼| 欧美成人一区二区三区| 精品一区二区在线观看| 国产亚洲精品资源在线26u| 国产91色综合久久免费分享| 亚洲男帅同性gay1069| 欧美性色黄大片| 琪琪一区二区三区| 久久先锋影音av鲁色资源网| 成人永久aaa| 亚洲综合免费观看高清在线观看| 欧美高清dvd| 精品系列免费在线观看| 中文字幕第一页久久| 欧美性受xxxx黑人xyx性爽| 免费成人你懂的| 国产片一区二区| 色偷偷一区二区三区| 天天综合色天天| www国产精品av| av电影天堂一区二区在线观看| 亚洲免费av高清| 91精品国产综合久久久久久久 | 欧美精品一区二区三区蜜臀| av高清久久久| 天天综合色天天| 国产亚洲人成网站| 在线免费观看视频一区| 韩国欧美国产1区| 亚洲激情欧美激情| 日韩视频国产视频| 99久久夜色精品国产网站| 不卡高清视频专区| 丝袜诱惑亚洲看片| 国产肉丝袜一区二区| 欧美在线看片a免费观看| 精品伊人久久久久7777人| 国产精品第一页第二页第三页| 欧美喷潮久久久xxxxx| 国产91在线|亚洲| 视频一区欧美日韩| 国产精品二区一区二区aⅴ污介绍| 欧美另类videos死尸| 国产91清纯白嫩初高中在线观看 | 欧美中文字幕久久| 国产伦精品一区二区三区免费迷| 尤物视频一区二区| 久久免费电影网| 欧美午夜一区二区三区免费大片| 国产精品77777竹菊影视小说| 性做久久久久久久久| 国产精品美女一区二区在线观看| 欧美丰满少妇xxxxx高潮对白| 成人激情免费电影网址| 精品一区二区三区欧美| 亚洲不卡av一区二区三区| 国产精品色眯眯| 精品国产网站在线观看| 欧美群妇大交群中文字幕| 99久久伊人精品| 国产揄拍国内精品对白| 午夜激情久久久| 中文字幕日韩av资源站| 2021中文字幕一区亚洲| 欧美三电影在线| 91色乱码一区二区三区| 岛国精品一区二区| 久久99久国产精品黄毛片色诱| 亚洲一区二区av在线| 亚洲视频你懂的| 亚洲国产电影在线观看| 久久精品亚洲国产奇米99| 日韩一区二区三区精品视频| 欧美乱妇一区二区三区不卡视频| 色婷婷综合久色| www.日韩av| 成人av在线播放网址| 国产91精品在线观看| 日韩午夜av一区| 欧美日韩精品高清| 欧美性受xxxx黑人xyx性爽| 日本伦理一区二区| 97se亚洲国产综合自在线| 丁香一区二区三区| 风间由美一区二区av101 | 国产欧美日韩在线观看| 久久久99精品免费观看| 26uuu另类欧美亚洲曰本| 日韩精品在线网站| 日韩一区二区三区四区| 日韩精品一区二区三区视频 | 精品影视av免费| 激情综合亚洲精品| 国产在线一区二区| 国产在线精品一区二区三区不卡 | 久久久午夜精品理论片中文字幕| 精品久久久久久久久久久久包黑料| 日韩无一区二区| 26uuu亚洲婷婷狠狠天堂| 久久青草国产手机看片福利盒子 | 91美女片黄在线观看91美女| 91丨九色porny丨蝌蚪| 91福利国产精品| 欧美日韩视频专区在线播放| 正在播放一区二区| 日韩一区二区影院| 久久蜜桃一区二区| 国产精品初高中害羞小美女文| 亚洲精品乱码久久久久久日本蜜臀| 亚洲卡通动漫在线| 午夜a成v人精品| 蜜桃久久久久久久|