Component.UIBase.Box

Box extension class. Represent a dom element.

defined in: box.js

Attributes

  • content {String|NodeList} component's html content.
  • el {NodeList} readonly.
  • elAttrs {Object} name-value pair attribute of component's root element
  • elBefore {NodeList} archor element where component insert before
  • elCls {String} css class of component's root element
  • elStyle {Object} name-value pair css style of component's root element
  • height {Number|String} component's height
  • render {NodeList} archor element where component append to
  • srcNode {NodeList} the node to parse for configuration values,passed to component's HTML_PARSER definition
  • visible {Boolean} whether this component is visible
  • visibleMode {String} component's visibleMode,use css "display" or "visibility" to show this component
  • width {Number|String} component's width

Methods

  • hide () hide component
  • show () show component

Class Detail

  • Component.UIBase.Box ()
    Box extension class. Represent a dom element.

Attributes Detail

  • content {String|NodeList} component's html content. Note: content and srcNode can not be set both!
  • el {NodeList} readonly. root element of current component
  • elAttrs {Object} name-value pair attribute of component's root element
  • elBefore {NodeList} archor element where component insert before
  • elCls {String} css class of component's root element
  • elStyle {Object} name-value pair css style of component's root element
  • height {Number|String} component's height
  • render {NodeList} archor element where component append to
  • srcNode {NodeList} the node to parse for configuration values,passed to component's HTML_PARSER definition
  • visible {Boolean} whether this component is visible
  • visibleMode {String} component's visibleMode,use css "display" or "visibility" to show this component
  • width {Number|String} component's width

Methods Detail

blog comments powered by Disqus
Top