Drawer: API Table
class: LionDrawer
, lion-drawer
Fields
Name | Privacy | Type | Default | Description | Inherited From |
---|---|---|---|---|---|
position | public | string | Setter for position property, available values are 'top', 'left' and 'right' | ||
_contentWidth | protected | ||||
_contentHeight | protected | LionCollapsible | |||
transitioning | public | boolean | |||
opened | public | boolean | false | LionCollapsible | |
_invokerNode | protected | LionCollapsible | |||
_contentNode | protected | LionCollapsible |
Methods
Name | Privacy | Description | Parameters | Return | Inherited From |
---|---|---|---|---|---|
__setBoundaries | protected | ||||
_showAnimation | protected | Trigger show animation and wait for transition to be finished. | { contentNode }, options: @param {HTMLElement} options.contentNode * | LionCollapsible | |
_hideAnimation | protected | Trigger hide animation and wait for transition to be finished. | { contentNode }, options: @param {HTMLElement} options.contentNode * | LionCollapsible | |
_waitForTransition | protected | Wait until the transition event is finished. | { contentNode }, options: @param {HTMLElement} options.contentNode * | Promise<void> | |
_openedChanged | protected | ||||
_updateContentSize | protected | ||||
show | public | Show extra content. | LionCollapsible | ||
hide | public | Hide extra content. | LionCollapsible | ||
toggle | public | Toggle the current(opened/closed) state. | LionCollapsible |
Events
Name | Type | Description | Inherited From |
---|---|---|---|
opened-changed | CustomEvent | LionCollapsible |
Attributes
Name | Field | Inherited From |
---|---|---|
transitioning | transitioning | |
opened | opened | LionCollapsible |
position | position |