template

Methods

  • attachEvent - attach custom handler to inner event
  • blockEvent - purpose is unknown
  • callEvent - calls inner event
  • define - sets configuration property or a hash of properties
  • destructor - destructs the object
  • detachEvent - detach custom code from handler
  • getNode - gets html object of a view
  • getParent - gets a parent view
  • hasEvent - checks whether a component has an event
  • load - loads values from external datasource
  • mapEvent - route events from one object to another
  • parse - added data from a datasource
  • render - renders a single item
  • resize - recalculates and adjusts view sizes
  • scrollTo - scrolls data container to a certain position
  • setValues - sets data hash
  • show - shows a view
  • unblockEvent - purpose is unknown

Events

Properties

  • loading - defines whether the loading cover needs being displayed while loading (actual in case of src parameter)
  • src - path to external template that is loaded by Ajax
  • scroll - enables/disables scroll
  • data - loaded data
  • url - data url
  • datatype - type of loaded data
  • template - item template
  • container - html container or its id where view needs being initialized
  • id - view id
  • css - class name for view container
  • width - view width
  • height - view height
  • gravity - view gravity (1 by default)