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

📄 number.html.svn-base

📁 PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。
💻 SVN-BASE
字号:
        <div class="body-wrap">        <div class="top-tools">            <a class="inner-link" href="#Number-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>            <a class="inner-link" href="#Number-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>            <a class="inner-link" href="#Number-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>                        <a class="bookmark" href="../docs/?class=Number"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>        </div>                <h1>Class Number</h1>        <table cellspacing="0">            <tr><td class="label">Package:</td><td class="hd-info">Global</td></tr>            <tr><td class="label">Defined In:</td><td class="hd-info">Ext.js</td></tr>            <tr><td class="label">Class:</td><td class="hd-info">Number</td></tr>                                    <tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr>                    </table>        <div class="description">                    </div>                <div class="hr"></div>                <a id="Number-props"></a>        <h2>Public Properties</h2>        <div class="no-members">This class has no public properties.</div>        <a id="Number-methods"></a>        <h2>Public Methods</h2>                <table cellspacing="0" class="member-table">            <tr>                <th class="sig-header" colspan="2">Method</th>                <th class="msource-header">Defined By</th>            </tr>                <tr class="method-row expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Number-constrain"></a>
            <b>constrain</b>(&nbsp;<code>Number min</code>, <code>Number max</code>&nbsp;) : Number            <div class="mdesc">
                        <div class="short">Checks whether or not the current number is within a desired range.  If the number is already within therange it is ...</div>
            <div class="long">
                Checks whether or not the current number is within a desired range.  If the number is already within therange it is returned, otherwise the min or max value is returned depending on which side of the range isexceeded.  Note that this method returns the constrained value but does not change the current number.    <div class="mdetail-params">
        <strong>Parameters:</strong>
        <ul><li><code>min</code> : Number<div class="sub-desc">The minimum number in the range</div></li><li><code>max</code> : Number<div class="sub-desc">The maximum number in the range</div></li>        </ul>
        <strong>Returns:</strong>
        <ul>
            <li><code>Number</code><div class="sub-desc">The constrained value if outside the range, otherwise the current value</div></li>
        </ul>
    </div>
                </div>
                        </div>
        </td>
        <td class="msource">Number</td>
    </tr>
            </table>                <a id="Number-events"></a>        <h2>Public Events</h2>        <div class="no-members">This class has no public events.</div>        </div>

⌨️ 快捷键说明

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