/1.4/docs/html/api/dom/outerHeight.html
HTML | 263 lines | 222 code | 23 blank | 18 comment | 0 complexity | 88f6b1a810e1a504c05114e38fa59200 MD5 | raw file
Possible License(s): Apache-2.0
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8"/>
- <meta name="viewport"
- content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
- <meta name="data-spm" content="1" data-spm-protocol="i" />
- <title>outerHeight — KISSY v1.4 Documentation</title>
- <link rel="stylesheet" href="//g.alicdn.com/kissy/k/1.4.7/css/dpl/base-min.css"/>
- <link rel="stylesheet" href="http://a.tbcdn.cn/s/kissy/gallery/sphinx/1.1.3/pygments.css" type="text/css" />
- <link rel="shortcut icon" href="http://a.tbcdn.cn/s/kissy/favicon.ico" type="image/x-icon" />
- <script>
- var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '../../',
- VERSION: '',
- COLLAPSE_INDEX: false,
- FILE_SUFFIX: '.html',
- HAS_SOURCE: true
- };
- </script>
- <script type="text/javascript" src="http://a.tbcdn.cn/s/kissy/gallery/sphinx/1.1.3/??jquery.js,underscore.js,doctools.js,searchtools.js"></script>
- <script>
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-31470541-1']);
- _gaq.push(['_trackPageview']);
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- </script>
- <link rel="stylesheet" href="../../_static/kissy.css"/>
- <link rel="stylesheet" href="../../_static/prettify.css"/>
- <link rel="stylesheet" href="../../_static/forkit.css"/>
- <link rel="stylesheet" href="../../_static/bootstrap.css"/>
- <script src="//g.alicdn.com/kissy/k/1.4.7/seed.js"></script>
- </head>
- <body data-spy="scroll" data-target=".bs-docs-sidebar">
- <nav id="sidebar">
- <header>
- <a href="/" >
- <img src="http://gtms01.alicdn.com/tps/i1/T1MVbxFoRcXXchhRni-175-68.png" alt="" />
- </a>
- </header>
-
- <div class="col-sub"><ul class="s-box api-toctree">
- <h4 class="s-box-hd">Seed</h4>
- <ul class="s-box-bd">
- <li><a href="../features/index.html">features</a></li>
- <li><a href="../lang/index.html">lang</a></li>
- <li><a href="../loader/index.html">loader</a></li>
- <li><a href="../ua/index.html">ua</a></li>
- </ul>
- </ul>
- <ul class="s-box component-toctree">
- <h4 class="s-box-hd">Core</h4>
- <ul class="s-box-bd">
- <li><a href="../anim/index.html">anim</a></li>
- <li><a href="../base/index.html">base</a></li>
- <li><a href="../cookie/index.html">cookie</a></li>
- <li><a href="index.html">dom</a></li>
- <li><a href="../event/index.html">event</a></li>
- <li><a href="../io/index.html">io</a></li>
- <li><a href="../json/index.html">json</a></li>
- <li><a href="../node/index.html">node</a></li>
- <li><a href="../path/index.html">path</a></li>
- <li><a href="../promise/index.html">promise</a></li>
- <li><a href="../uri/index.html">uri</a></li>
- </ul>
- </ul>
- <ul class="s-box component-toctree">
- <h4 class="s-box-hd">Infrastructure</h4>
- <ul class="s-box-bd">
- <li><a href="../component/index.html">component</a></li>
- <li><a href="../mvc/index.html">mvc</a></li>
- <li><a href="../xtemplate/index.html">xtemplate</a></li>
- </ul>
- </ul>
- <ul class="s-box component-toctree">
- <h4 class="s-box-hd">Components</h4>
- <ul class="s-box-bd">
- <li><a href="../button/index.html">button</a></li>
- <li><a href="../color/index.html">color</a></li>
- <li><a href="../combobox/index.html">combobox</a></li>
- <li><a href="../date/index.html">date</a></li>
- <li><a href="../dd/index.html">dd</a></li>
- <li><a href="../editor/index.html">editor</a></li>
- <li><a href="../filter-menu/index.html">filter-menu</a></li>
- <li><a href="../menu/index.html">menu</a></li>
- <li><a href="../menubutton/index.html">menubutton</a></li>
- <li><a href="../overlay/index.html">overlay</a></li>
- <li><a href="../resizable/index.html">resizable</a></li>
- <li><a href="../scroll-view/index.html">scroll-view</a></li>
- <li><a href="../split-button/index.html">split-button</a></li>
- <li><a href="../stylesheet/index.html">stylesheet</a></li>
- <li><a href="../swf/index.html">swf</a></li>
- <li><a href="../tabs/index.html">tabs</a></li>
- <li><a href="../toolbar/index.html">toolbar</a></li>
- <li><a href="../tree/index.html">tree</a></li>
- <li><a href="http://docs.kissyui.com/1.4/docs/html/coms.html">所有组件</a></li>
- </ul>
- </ul>
- <script type="text/javascript" src="http://tajs.qq.com/stats?sId=39100375" charset="UTF-8"></script>
-
- </div>
-
- <div id="searchbox" class="searchbox">
- <form class="search" action="../../search.html" method="get">
- <input type="text" name="q" size="28" class="ipt"/>
- <input type="submit" value="Go" class="btn"/>
- <input type="hidden" name="check_keywords" value="yes"/>
- <input type="hidden" name="area" value="default"/>
- </form>
- </div>
- </nav>
- <div id="content" class="body">
- <article>
- <ul class="api-header clearfix">
- <li class="first">
- <a href="/" >
- 首页
- </a>
- </li>
- <li><a href="../../../../docs/html/api/index.html">API</a></li>
- <li><a href="../../../../docs/html/demo/index.html">Demo</a></li>
- <li>
- <a href="../../../../docs/html/guideline/get-started.html" >Guideline</a>
- </li>
- <li>
- <a href="../../../../docs/html/coms.html" >组件列表</a>
- </li>
- <li><a href="../../../../docs/html/tutorials/index.html">Tutorials</a></li>
- <li style="float:right"><a href="https://github.com/kissyteam/kissy">Source Code</a></li>
- <li style="float:right"><a href="/1.4/api/">English API Docs</a></li>
- </ul>
-
- <div class='related'>
- <h3>Navigation</h3>
-
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="../../genindex.html" title="General Index"
- accesskey="I">index</a></li>
- <li class="right" >
- <a href="../../py-modindex.html" title="Python Module Index"
- >modules</a> | </li>
- <li class="right" >
- <a href="addStyleSheet.html" title="addStyleSheet"
- accesskey="N">next</a> | </li>
- <li class="right" >
- <a href="outerWidth.html" title="outerWidth"
- accesskey="P">previous</a> | </li>
- <li><a href="../../index.html">KISSY v1.4 Documentation</a> » </li>
- <li><a href="../index.html" >API Documentation</a> » </li>
- <li><a href="index.html" accesskey="U">dom</a> » </li>
- </ul>
- </div>
-
- <div class="section" id="outerheight">
- <h1>outerHeight<a class="headerlink" href="#outerheight" title="Permalink to this headline">¶</a></h1>
- <div class="section" id="module">
- <h2>Module<a class="headerlink" href="#module" title="Permalink to this headline">¶</a></h2>
- <blockquote>
- <div><a class="reference internal" href="index.html#module-dom" title="dom"><tt class="xref py py-mod docutils literal"><span class="pre">dom</span></tt></a></div></blockquote>
- </div>
- <div class="section" id="methods">
- <h2>Methods<a class="headerlink" href="#methods" title="Permalink to this headline">¶</a></h2>
- <dl class="function">
- <dt id="dom.outerHeight">
- <tt class="descclassname">dom.</tt><tt class="descname">outerHeight</tt><big>(</big><big>)</big><a class="headerlink" href="#dom.outerHeight" title="Permalink to this definition">¶</a></dt>
- <dd><div class="line-block">
- <div class="line">Number <strong>outerHeight</strong> ( selector , includeMargin)</div>
- <div class="line">获取符合选择器的第一个元素的高度值, 注意: <strong>该值除了包含元素本身宽度和 padding 外, 还包含 border或margin</strong> .</div>
- </div>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>selector</strong> (<em>string|HTMLCollection|Array<HTMLElement></em>) – 字符串表示 <a class="reference external" href="http://www.w3.org/TR/css3-selectors/">css3 选择器</a></li>
- <li><strong>includeMargin</strong> (<em>Boolean</em>) – 是否包含 margin, 默认仅包含 border</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">符合选择器的第一个元素的高度值.</p>
- </td>
- </tr>
- <tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">Number</p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- </div>
- </div>
- <div id="disqus_thread"></div>
- <script>
- if((window.location.hostname.indexOf("kissyui.com")!=-1 )&& window.localStorage.getItem("kissy-commment")!="0"){
- /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
- var disqus_shortname = 'kissy-docs'; // required: replace example with your forum shortname
- // The following are highly recommended additional parameters. Remove the slashes in front to use.
- //var disqus_identifier = '/anim';
- //var disqus_url = window.location;
- /* * * DON'T EDIT BELOW THIS LINE * * */
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
- }
- </script>
- <!--<div id="google-search-box">
- <div id="cse" style="width: 100%;">Loading</div>
- <script>
- if(window.location.hostname.indexOf("kissyui.com")!=-1){
- document.write('<script src="http://www.google.com/jsapi" type="text/javascript"><'+'/script>');
- }
- </script>
- <script>
- if(window.location.hostname.indexOf("kissyui.com")!=-1){
- google.load('search', '1', {language : 'zh-CN', style : google.loader.themes.MINIMALIST});
- google.setOnLoadCallback(function() {
- var customSearchControl = new google.search.CustomSearchControl('012347804910294994683:n4uzb24gqdm');
- customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
- customSearchControl.draw('cse');
- }, true);
- }
- </script>
- </div>-->
- </article>
- </div>
- <footer class="footer">
- <p>© Copyright 2010~2014, KISSY Team. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a></p>
- </footer></body>
- <script>
- // added by jayli
- (function(){
- $('table.docutils').addClass('table table-bordered');
- $('.admonition.note').addClass('alert alert-info');
- $('.admonition.hint').addClass('alert alert-success');
- $('.admonition.warning').addClass('alert alert-warning');
- $('.admonition.attention').addClass('alert alert-danger');
- })();
- </script>
- <script type="text/javascript" src="http://tajs.qq.com/stats?sId=39100375" charset="UTF-8"></script>
- </html>