Component.Render

Base Render class for KISSY Component.

parents: Component.UIBase

defined in: render.js

Class

Methods

  • getComponentCssClassWithState (state) Get all css class name to be applied to the root element of this component for given state.
  • getContentElement () Return the dom element into which child component to be rendered.
  • getKeyEventTarget () Returns the dom element which is responsible for listening keyboard events.

Class Detail

  • Component.Render ()
    Base Render class for KISSY Component.

Methods Detail

  • getComponentCssClassWithState (state) view source
    Get all css class name to be applied to the root element of this component for given state. the css class names are prefixed with component name.
    Parameters
    • [ state ] {String} This component's state info.
  • getContentElement () view source
    Return the dom element into which child component to be rendered.
    Returns
  • getKeyEventTarget () view source
    Returns the dom element which is responsible for listening keyboard events.
    Returns
blog comments powered by Disqus
Top