⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ext.data.httpproxy.html

📁 Ext中文API,学习ext的同志只要你学会ext里的一种控件后其实其他的就大同小异了
💻 HTML
📖 第 1 页 / 共 5 页
字号:
                                                                                    <li>                                                <code>                                                    scope                                                </code> : Object                                                <div class="sub-desc">                                                                                                    </div>                                            </li>                                                                            </ul>                                    <b>返回:</b>                                    <ul>                                        <li>                                            <code>                                                void                                            </code>                                                                                    </li>                                    </ul>                                </div>                            </div>                        </div>                    </td>                    <td class="msource">                                                    <!--如果这不是同个namespace下--><a ext:cls="Ext.util.Observable" ext:member="#method-un" href="output/Ext.util.Observable.html#method-un">                                                Observable                                                </a>                                        </td>                </tr>                            <tr class="method-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <!--ClassName--><a id="capture-capture"></a>                        <b>capture</b>                        (                                                                                    <code>                                    Observable o,                                </code>                                                                                                                <code>                                    Function fn,                                </code>                                                                                                                <code>                                    <span class='optional'>[Object scope]</span>                                </code>                                                    )                                                <div class="mdesc">                            <div class="short">                                 开始捕捉特定的观察者。 在事件触发之前,所有的事件会以“事件名称+标...                             </div>                            <div class="long">                                 开始捕捉特定的观察者。 在事件触发<b>之前</b>,所有的事件会以“事件名称+标准签名”的形式传入到函数(传入的参数是function类型)。 如果传入的函数执行后返回false,则接下的事件将不会触发。 @param {Observable} o 要捕捉的观察者 @param {Function} fn 要调用的函数 @param {Object} scope (可选的)函数作用域                                <div class="mdetail-params">                                    <strong>参数项:</strong>                                    <ul>                                                                                    <li>                                                <code>                                                    o                                                </code> : Observable                                                <div class="sub-desc">                                                    要捕捉的观察者                                                </div>                                            </li>                                                                                    <li>                                                <code>                                                    fn                                                </code> : Function                                                <div class="sub-desc">                                                    要调用的函数                                                </div>                                            </li>                                                                                    <li>                                                <code>                                                    scope                                                </code> : Object                                                <div class="sub-desc">                                                                                                    </div>                                            </li>                                                                            </ul>                                    <b>返回:</b>                                    <ul>                                        <li>                                            <code>                                                void                                            </code>                                                                                    </li>                                    </ul>                                </div>                            </div>                        </div>                    </td>                    <td class="msource">                                                    <!--如果这不是同个namespace下--><a ext:cls="Ext.util.Observable" ext:member="#method-capture" href="output/Ext.util.Observable.html#method-capture">                                                Observable                                                </a>                                        </td>                </tr>                            <tr class="method-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <!--ClassName--><a id="releaseCapture-releaseCapture"></a>                        <b>releaseCapture</b>                        (                                                                                    <code>                                    Observable o                                </code>                                                    )                                                <div class="mdesc">                            <div class="short">                                 从Observable身上移除所有已加入的捕捉captures。 @...                             </div>                            <div class="long">                                 从Observable身上移除<b>所有</b>已加入的捕捉captures。 @param {Observable} o 要释放的观察者                                 <div class="mdetail-params">                                    <strong>参数项:</strong>                                    <ul>                                                                                    <li>                                                <code>                                                    o                                                </code> : Observable                                                <div class="sub-desc">                                                    要释放的观察者                                                </div>                                            </li>                                                                            </ul>                                    <b>返回:</b>                                    <ul>                                        <li>                                            <code>                                                void                                            </code>                                                                                    </li>                                    </ul>                                </div>                            </div>                        </div>                    </td>                    <td class="msource">                                                    <!--如果这不是同个namespace下--><a ext:cls="Ext.util.Observable" ext:member="#method-releaseCapture" href="output/Ext.util.Observable.html#method-releaseCapture">                                                Observable                                                </a>                                        </td>                </tr>                    </table>            <a id="Ext.data.HttpProxy-events"></a>    <a id="Ext.Ajax-events"></a>    <h2>公告事件</h2>            <table cellspacing="0" class="member-table">            <tr>                <th class="sig-header" colspan="2">                    事件                </th>                <th class="msource-header">                    定义者                </th>            </tr>                            <tr class="event-row  expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <a id="A1"></a>                        <b>loadexception
</b>                        (                                                    <code>                                                                    Object this,                                                            </code>                                                    <code>                                                                    Object options,                                                            </code>                                                    <code>                                                                    Object response,                                                            </code>                                                    <code>                                                                    Error e                                                            </code>                        )                        <div class="mdesc">                            <div class="short">                                
  Fires if an exception occurs in ...                            </div>                            <div class="long">                                
  Fires if an exception occurs in the Proxy during data loading.  This event can be fired for one of two reasons:
 <ul><li><b>The load call returned success: false.</b>  This means the server logic returned a failure
 status and there is no data to read.  In this case, this event will be raised and the
 fourth parameter (read error) will be null.</li>
 <li><b>The load succeeded but the reader could not read the response.</b>  This means the server returned
 data, but the configured Reader threw an error while reading the data.  In this case, this event will be 
 raised and the caught error will be passed along as the fourth parameter of this event.</li></ul>
 Note that this event is also relayed through <a href="###" onClick="alert('Ext.data.Store');">Ext.data.Store</a>, so you can listen for it directly
 on any Store instance.
     If the load call returned success: false, this parameter will be null.
                                <div class="mdetail-params">                                    <strong>参数项:</strong>                                    <ul>                                                                                    <li>                                                <code>                                                    this                                                </code> : Object                                                <div class="sub-desc">                                                    *                                                </div>                                            </li>                                                                                    <li>                                                <code>                                                    options                                                </code> : Object                                                <div class="sub-desc">                                                    The loading options that were specified (see <a href="###" onClick="alert('#load');">#load</a> for details)                                                </div>                                            </li>                                                                                    <li>                                                <code>                                                    response                                                </code> : Object                                                <div class="sub-desc">                                                    The XMLHttpRequest object containing the response data                                                </div>                                            </li>                                                                                    <li>                                                <code>                                                    e                                                </code> : Error                                                <div class="sub-desc">                                                    The JavaScript Error object caught if the configured Reader could not read the data.                                                </div>                                      

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -