template
Type: Component
File:
Based on:
Scrollable
,
MouseEvents
,
AtomDataLoader
,
AtomRender
,
EventSystem
,
view
,
Settings
,
Destruction
Included in:
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
onitemclick
- item was clicked
onbeforecontextmenu
- context menu call in the item area
onitemdblclick
- item was double-clicked
onmousemove
- mouse was pointed over item
onmouseout
- mouse was moved out from item
onmousemoving
- mouse was moved over component
onxls
- before xml loading start
onxle
- after xml loading end
onbeforerender
- view rendering is initiated
onafterrender
- view was rendered
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)