|
Name |
Type |
animationType
|
object
|
Sets or gets the animation type.
Possible Values:
'slide'
'fade'
'none'
|
arrowPosition
|
object
|
Sets or gets header's arrow position.
Possible Values:
'left'
'right'
|
collapseAnimationDuration
|
double
|
Sets or gets the collapsing animation duration.
|
disabled
|
bool
|
Sets or gets whether the expander is disabled.
|
expanded
|
bool
|
Sets or gets expander's state (collapsed or expanded).
|
expandAnimationDuration
|
double
|
Sets or gets the expanding animation duration.
|
height
|
object
|
Sets or gets expander's height. Possible values - 'auto' or string like this 'Npx' where N is any number or a numeric value in pixels.
|
headerPosition
|
object
|
Sets or gets header's position.
Possible Values:
'top'
'bottom'
|
initContent
|
object
|
Callback function called when the item's content needs to be initialized. Useful for initializing other widgets within the content of jqxExpander.
|
rtl
|
bool
|
Determines whether the right-to-left support is enabled.
|
showArrow
|
bool
|
Sets or gets whether header's arrow is going to be shown.
|
theme
|
string
|
|
toggleMode
|
object
|
Sets or gets user interaction used for expanding or collapsing the content.
Possible Values:
'click'
'dblclick'
'none'
|
width
|
object
|
Sets or gets expander's width.Possible values - 'auto' or string like this 'Npx' where N is any number or a numeric value in pixels.
|
|
onCollapsing
|
Event
|
This event is triggered when the jqxExpander is going to be collapsed.
|
onCollapsed
|
Event
|
This event is triggered when the jqxExpander is collapsed.
|
onExpanding
|
Event
|
This event is triggered when the jqxExpander is going to be expanded.
|
onExpanded
|
Event
|
This event is triggered when the jqxExpander is expanded.
|
|
Name |
Arguments |
Return Type |
collapse
|
()
|
void
|
Method which is collapsing the expander.
|
disable
|
()
|
void
|
This method is disabling the expander.
|
destroy
|
()
|
void
|
This method destroys the expander.
|
enable
|
()
|
void
|
This method is enabling the expander.
|
expand
|
()
|
void
|
Method used for expanding the expander's content.
|
focus
|
()
|
void
|
This method focuses on the expander. When the widget is focused, keyboard navigation can be used. Here is a list of the keys, supported by jqxExpander and their function:
- Enter/Spacebar - if the focus is on the header, collapses or expands the widget.
- Tab - focuses on the header or the next element in the DOM.
- Ctrl+Up arrow - if the focus is on the content, focuses on the header.
- Ctrl+Down arrow - if the focus is on the header, focuses on the content.
|
getContent
|
()
|
string
|
Getting expander's content. Returns a string with the content's HTML.
|
getHeaderContent
|
()
|
string
|
Getting expander's header content. Returns a string with the header's HTML.
|
invalidate
|
()
|
void
|
This method refreshes the expander.
|
refresh
|
()
|
void
|
This method refreshes the expander.
|
render
|
()
|
void
|
This method renders the expander.
|
setHeaderContent
|
(string headerContent)
|
void
|
This method is setting specific content to the expander's header.
|
setContent
|
(string content)
|
void
|
This method is setting specific content to the expander.
|