accordionitem
Type: Component
File:
Based on:
MouseEvents
,
EventSystem
,
view
,
Settings
,
Destruction
Included in:
Methods
attachEvent
- attach custom handler to inner event
blockEvent
- purpose is unknown
callEvent
- calls inner event
collapse
- collapses accordion item
define
- sets configuration property or a hash of properties
destructor
- destructs the object
detachEvent
- detach custom code from handler
expand
- expands accordion item
getNode
- gets html object of a view
getParent
- gets a parent view
hasEvent
- checks whether a component has an event
mapEvent
- route events from one object to another
refresh
- refreshes header label
resize
- recalculates and adjusts view sizes
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
Properties
body
- a view or html content that is shown in the item
collapsed
- defined whether an accordion cell needs being collapsed, takes true/false as a parameter
header
- header label
headerAlt
- header label in the collapsed state
headerHeight
- height height
headerAltHeight
- header height in the collapsed state
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)