1 /** 2 * @fileOverview 里层包裹层定义, 适合mask以及shim 3 * @author yiminghe@gmail.com 4 */ 5 KISSY.add("component/uibase/contentbox", function () { 6 7 /** 8 * @name ContentBox 9 * @class 10 * ContentBox extension class. 11 * Represent inner element of component's root element. 12 * @memberOf Component.UIBase 13 */ 14 function ContentBox() { 15 } 16 17 ContentBox.ATTRS = 18 /** 19 * @lends Component.UIBase.ContentBox# 20 */ 21 { 22 23 /** 24 * readonly! content box's element of component 25 * @type NodeList 26 */ 27 contentEl:{ 28 view:1 29 } 30 }; 31 32 return ContentBox; 33 });