/1.3/docs/html/api/component/tabs/tab.html
HTML | 308 lines | 259 code | 30 blank | 19 comment | 0 complexity | 276c4ddd9722eaa1ea52787fa0427a38 MD5 | raw file
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8"/>
- <meta name="data-spm" content="1" data-spm-protocol="i" />
- <title>Tabs.Tab — KISSY v1.3 Documentation</title>
- <link rel="stylesheet" href="http://g.tbcdn.cn/kissy/k/1.3.2/css/dpl/base-min.css"/>
- <link rel="stylesheet" href="../../../_static/kissy.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" />
- <!--<link href='http://fonts.googleapis.com/css?family=Philosopher' rel='stylesheet' type='text/css'>-->
- <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>
- </head>
- <body><div id="header">
- <h1 class="logo"><a alt="KISSY" href="http://docs.kissyui.com">
- <img src="http://a.tbcdn.cn/s/kissy/logo.png" />
- </a></h1>
- <ul class="navigation">
- <li><a href="http://docs.kissyui.com">首页</a></li>
- <li><a href="../../../../html/tutorials/index.html" >Tutorials</a></li>
- <li><a href="../../../../html/api/index.html" >API</a></li>
- <li><a href="../../../../html/demo/index.html" >DEMO</a></li>
- <li><a href="https://groups.google.com/group/kissy-ui" >Google Group</a></li>
- <li><a href="http://www.github.com/kissyteam" >Source Code</a></li>
- <li><a href="http://docs.kissyui.com/1.3/api/" >English API Docs</a></li>
- <li><a href="http://blog.kissyui.com/" target="_blank">Offical Blog</a></li>
- </ul>
- <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>
- </div>
- <div id="content">
- <div id="layout" class="layout grid-s6m0e7">
- <div class="col-main">
- <div class="main-wrap">
-
- <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="panel.html" title="Tabs.Panel"
- accesskey="N">next</a> | </li>
- <li class="right" >
- <a href="tabs.html" title="Tabs"
- accesskey="P">previous</a> | </li>
- <li><a href="../../../index.html">KISSY v1.3 Documentation</a> » </li>
- <li><a href="../../index.html" >API Documentation</a> » </li>
- <li><a href="../index.html" >Component</a> » </li>
- <li><a href="index.html" accesskey="U">Tabs</a> » </li>
- </ul>
- </div>
- <div class="body">
- <span class="target" id="module-button"></span><div class="section" id="tabs-tab">
- <h1>Tabs.Tab<a class="headerlink" href="#tabs-tab" title="Permalink to this headline">¶</a></h1>
- <div class="line-block">
- <div class="line">标签</div>
- </div>
- <div class="highlight-javascript"><div class="highlight"><pre><span class="nx">KISSY</span><span class="p">.</span><span class="nx">use</span><span class="p">(</span><span class="s1">'tabs'</span><span class="p">,</span><span class="kd">function</span><span class="p">(</span><span class="nx">S</span><span class="p">,</span><span class="nx">Tabs</span><span class="p">){</span>
- <span class="c1">// use Tabs.Tab</span>
- <span class="p">});</span>
- </pre></div>
- </div>
- <div class="section" id="class">
- <h2>Class<a class="headerlink" href="#class" title="Permalink to this headline">¶</a></h2>
- <blockquote>
- <div><ul class="simple">
- <li><a class="reference internal" href="#button.Tab" title="button.Tab"><tt class="xref py py-class docutils literal"><span class="pre">Tab</span></tt></a></li>
- </ul>
- </div></blockquote>
- </div>
- <div class="section" id="configs">
- <h2>Configs<a class="headerlink" href="#configs" title="Permalink to this headline">¶</a></h2>
- <blockquote>
- <div><ul class="simple">
- <li><a class="reference internal" href="../component/extension/box.html#component.extension.Box.config.content" title="component.extension.Box.config.content"><tt class="xref py py-data docutils literal"><span class="pre">content</span></tt></a></li>
- <li><a class="reference internal" href="#button.Tab.config.selected" title="button.Tab.config.selected"><tt class="xref py py-data docutils literal"><span class="pre">selected</span></tt></a></li>
- </ul>
- </div></blockquote>
- </div>
- <div class="section" id="attributes">
- <h2>Attributes<a class="headerlink" href="#attributes" title="Permalink to this headline">¶</a></h2>
- <blockquote>
- <div><ul class="simple">
- <li><a class="reference internal" href="../component/extension/box.html#component.extension.Box.prototype.content" title="component.extension.Box.prototype.content"><tt class="xref py py-attr docutils literal"><span class="pre">content</span></tt></a></li>
- <li><a class="reference internal" href="#button.Tab.prototype.selected" title="button.Tab.prototype.selected"><tt class="xref py py-data docutils literal"><span class="pre">selected</span></tt></a></li>
- </ul>
- </div></blockquote>
- </div>
- <div class="section" id="class-detail">
- <h2>Class Detail<a class="headerlink" href="#class-detail" title="Permalink to this headline">¶</a></h2>
- <dl class="class">
- <dt id="button.Tab">
- <em class="property">class </em><tt class="descclassname">button.</tt><tt class="descname">Tab</tt><a class="headerlink" href="#button.Tab" title="Permalink to this definition">¶</a></dt>
- <dd><div class="line-block">
- <div class="line"><strong>Tab</strong> (config)</div>
- <div class="line">Tab: ‘tabs’</div>
- </div>
- <ul class="simple">
- <li>继承自 <a class="reference internal" href="../component/controller.html#component.Controller" title="component.Controller"><tt class="xref py py-class docutils literal"><span class="pre">Controller</span></tt></a> , 包含其全部配置,属性,方法,事件.</li>
- </ul>
- <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"><strong>config</strong> (<em>Object</em>) – 配置项,详细见下方 <strong>Configs Detail</strong> .</td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- </div>
- <div class="section" id="configs-detail">
- <h2>Configs Detail<a class="headerlink" href="#configs-detail" title="Permalink to this headline">¶</a></h2>
- <dl class="data">
- <dt id="button.Tab.config.selected">
- <tt class="descclassname">Tab.config.</tt><tt class="descname">selected</tt><a class="headerlink" href="#button.Tab.config.selected" title="Permalink to this definition">¶</a></dt>
- <dd><p>{Boolean} - 是否选中</p>
- </dd></dl>
- </div>
- <div class="section" id="attributes-detail">
- <h2>Attributes Detail<a class="headerlink" href="#attributes-detail" title="Permalink to this headline">¶</a></h2>
- <dl class="attribute">
- <dt id="button.Tab.prototype.selected">
- <tt class="descclassname">Tab.prototype.</tt><tt class="descname">selected</tt><a class="headerlink" href="#button.Tab.prototype.selected" title="Permalink to this definition">¶</a></dt>
- <dd><p>{Boolean} - 是否选中</p>
- </dd></dl>
- </div>
- </div>
- </div>
-
- <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="panel.html" title="Tabs.Panel"
- accesskey="N">next</a> | </li>
- <li class="right" >
- <a href="tabs.html" title="Tabs"
- accesskey="P">previous</a> | </li>
- <li><a href="../../../index.html">KISSY v1.3 Documentation</a> » </li>
- <li><a href="../../index.html" >API Documentation</a> » </li>
- <li><a href="../index.html" >Component</a> » </li>
- <li><a href="index.html" accesskey="U">Tabs</a> » </li>
- </ul>
- </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>-->
- </div>
- </div>
-
- <div class="col-sub"><ul class="s-box api-toctree">
- <h2 class="s-box-hd">Seed</h2>
- <ul class="s-box-bd">
- <li><a href="../../seed/kissy/index.html">lang</a></li>
- <li><a href="../../seed/loader/index.html">loader</a></li>
- </ul>
- </ul>
- <ul class="s-box core-toctree">
- <h2 class="s-box-hd">Core</h2>
- <ul class="s-box-bd">
- <li><a href="../../core/ajax/index.html">ajax</a></li>
- <li><a href="../../core/anim/index.html">anim</a></li>
- <li><a href="../../core/base/index.html">base</a></li>
- <li><a href="../../core/cookie/index.html">cookie</a></li>
- <li><a href="../../core/dom/index.html">dom</a></li>
- <li><a href="../../core/event/index.html">event</a></li>
- <li><a href="../../core/json/index.html">json</a></li>
- <li><a href="../../core/node/index.html">node</a></li>
- <li><a href="../../core/ua/index.html">ua</a></li>
- </ul>
- </ul>
- <ul class="s-box component-toctree">
- <h2 class="s-box-hd">Component</h2>
- <ul class="s-box-bd">
- <li><a href="../button/index.html">button</a></li>
- <li><a href="../calendar/index.html">calendar</a></li>
- <li><a href="../color/index.html">color</a></li>
- <li><a href="../combobox/index.html">combobox</a></li>
- <li><a href="../component/index.html">component</a></li>
- <li><a href="../datalazyload/index.html">datalazyload</a></li>
- <li><a href="../dd/index.html">dd</a></li>
- <li><a href="../editor/index.html">editor</a></li>
- <li><a href="../imagezoom/index.html">imagezoom</a></li>
- <li><a href="../menu/index.html">menu</a></li>
- <li><a href="../menubutton/index.html">menubutton</a></li>
- <li><a href="../mvc/index.html">mvc</a></li>
- <li><a href="../overlay/index.html">overlay</a></li>
- <li><a href="../promise/index.html">promise</a></li>
- <li><a href="../resizable/index.html">resizable</a></li>
- <li><a href="../rich-base/index.html">rich-base</a></li>
- <li><a href="https://github.com/jquery/sizzle/wiki/Sizzle-Home">sizzle</a></li>
- <li><a href="../stylesheet/index.html">stylesheet</a></li>
- <li><a href="../swf/index.html">swf</a></li>
- <li><a href="../switchable/index.html">switchable</a></li>
- <li><a href="index.html">tabs</a></li>
- <li><a href="../tree/index.html">tree</a></li>
- <li><a href="../uri/index.html">uri</a></li>
- <li><a href="../waterfall/index.html">waterfall</a></li>
- <li><a href="../xtemplate/index.html">xtemplate</a></li>
- </ul>
- </ul>
-
- </div>
-
- </div>
- <script>
- if(!$.trim($(".col-extra").html())){
- $("#layout").removeClass("grid-s6m0e7").addClass("grid-s6m0");
- }
- </script>
- </div>
- <div id="footer">
- © Copyright 2010~2012, KISSY Team. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>
- </div>
- </body>
- </html>