Ext.data.JsonP.KISSY_Component({"tagname":"class","name":"KISSY.Component","extends":null,"mixins":[],"alternateClassNames":[],"aliases":{},"singleton":true,"requires":[],"uses":[],"enum":null,"override":null,"inheritable":null,"inheritdoc":null,"meta":{},"private":null,"id":"class-KISSY.Component","members":{"cfg":[],"property":[],"method":[{"name":"create","tagname":"method","owner":"KISSY.Component","meta":{},"id":"method-create"}],"event":[],"css_var":[],"css_mixin":[]},"linenr":7,"files":[{"filename":"impl.js","href":"impl.html#KISSY-Component"}],"html_meta":{},"statics":{"cfg":[],"property":[],"method":[],"event":[],"css_var":[],"css_mixin":[]},"component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"parentMixins":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/impl.html#KISSY-Component' target='_blank'>impl.js</a></div></pre><div class='doc-contents'><p>Component infrastructure.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-create' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='KISSY.Component'>KISSY.Component</span><br/><a href='source/impl.html#KISSY-Component-method-create' target='_blank' class='view-source'>view source</a></div><a href='#!/api/KISSY.Component-method-create' class='name expandable'>create</a>( <span class='pre'>component, self</span> )</div><div class='description'><div class='short'>Create a component instance using json with xclass. ...</div><div class='long'><p>Create a component instance using json with xclass. for example:</p>\n\n<pre><code> create({\n     xclass:'menu',\n     children:[{\n         xclass:'menuitem',\n         content:\"1\"\n     }]\n })\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>component</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>Component's json notation with xclass attribute.</p>\n<ul><li><span class='pre'>xclass</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>Component to be newed 's xclass.</p>\n</div></li></ul></div></li><li><span class='pre'>self</span> : <a href=\"#!/api/KISSY.Component.Controller\" rel=\"KISSY.Component.Controller\" class=\"docClass\">KISSY.Component.Controller</a><div class='sub-desc'><p>Component From which new component generated will inherit prefixCls\nif component 's prefixCls is undefined.</p>\n</div></li></ul></div></div></div></div></div></div></div>"});