dhx.ui.accordionitem
Type: Component
File:
Based on:
dhx.MouseEvents
,
dhx.EventSystem
,
dhx.ui.baseview
,
dhx.Settings
,
dhx.Destruction
,
dhx.BaseBind
Included in:
Methods
adjust
- adjusts the component to the size of the outer parent
HTML
container
attachEvent
- attaches custom handler to inner event
bind
- binds components
blockEvent
- blocks event triggering
callEvent
- calls inner event
collapse
- collapses accordion item
define
- sets configuration property or a hash of properties
destructor
- destructs an object
detachEvent
- detaches custom code from handler
expand
- expands accordion item
getNode
- returns main html container of view
getParent
- returns parent object of current view
hasEvent
- checks whether a component has an event
hide
- hides view
isVisible
- returns true if current view is visible
mapEvent
- routes events from one object to another
refresh
- refreshes header label
resize
- adjusts view to the new size
show
- makes view visible
unblockEvent
- enables event triggering
Events
onbeforecontextmenu
- fires before context menu was called in the item area
onitemclick
- fires when item was clicked
onitemdblclick
- fires when item was double-clicked
onmousemove
- fires when mouse was pointed over item
onmousemoving
- fires when mouse was moved over component
onmouseout
- fires when mouse was moved out from item
Properties
animate
- defines animation on view change (object with direction, type and subtype properties) or disables animation (false)
body
- a view or html content that is shown in item
collapsed
- defines whether an accordion cell needs being collapsed, takes true/false as a parameter
container
- html container or its id where view needs initializing
css
- class name for view container
gravity
- view gravity (1 by default)
headerAltHeight
- header height in the collapsed state
headerAlt
- specifies header in the collapsed state
headerHeight
- header height
header
- specifies header in the expanded state
height
- view height
hidden
- sets whether a view will be hidden initially
id
- view id
on
- allows to attach custom handlers to inner events of the component
scroll
- enables scrolling
width
- view width