Properties
| Name | Attribute | Type | Description |
|---|---|---|---|
| label | label | |
Expander component label. |
| expanded | expanded | |
Indicator if the expander is expanded. |
| disabled | disabled | |
Indicator if the expander is disabled. |
| buttonAlignment | button-alignment | |
Indicate where the Expander button should be positioned |
| dir | dir | |
Used to set the base direction of text for display |
| lang | lang | |
Used to identify the language of text content on the web |
Events
| Name | Type | Description |
|---|---|---|
| expand | |
Dispatched when the expander is expanded. |
| collapse | |
Dispatched when the expander is collapsed. |
Slots
| Name | Description |
|---|---|
|
Used to define content that is displayed while async rendering is awaiting, or when renderLoading() is implicitly called |
|
Content to render inside the expander once expanded. |
|
Replaces the expand icon by default this will be the omni-chevron-down-icon. |
|
Replaces the icon in the header which is usually placed on the opposite end of the expand icon. |
Theme Variables
| Name | Description |
|---|---|
|
Theme primary color. |
|
Theme primary hover color. |
|
Theme primary active color. |
|
Theme accent color. |
|
Theme accent hover color. |
|
Theme accent active color. |
|
Theme background color. |
|
Theme background hover color. |
|
Theme background active color. |
|
Theme font color. |
|
Theme disabled border color. |
|
Theme disabled background color. |
|
Theme disabled background color. |
|
Theme error border color. |
|
Theme hint font color. |
|
Theme inactive color. |
|
Theme inactive color. |
|
Theme font family. |
|
Theme font size. |
|
Theme font weight. |
|
Theme border radius. |
|
Theme border width. |
|
Theme box shadow. |
Component Variables
| Name | Description |
|---|---|
|
Expander component minimum height. |
|
Expander component maximum height. |
|
Expander component width. |
|
Expander component background. |
|
Expander component expanded height. |
|
Expander header width. |
|
Expander header height. |
|
Expander header padding. |
|
Expander header border top. |
|
Expander header hover background. |
|
Expander header label font color. |
|
Expander header label font size. |
|
Expander header label font weight. |
|
Expander header disabled background. |
|
Expander content width. |
|
Expander content height. |
|
Expander content border. |
|
Expander content padding. |
|
Expander content closed top padding. |
|
Expander content closed bottom padding. |
|
Bottom border of the expander content. |
|
Expander header icon container padding. |
|
Expander header icon slot width. |
|
Expander header icon slot height. |
|
Expander expand icon container padding. |
|
Expander expand icon width. |
|
Expander expand icon height. |
|
Expander expand icon color. |
|
Expander expanding content top padding. |
|
Expander expanding content bottom padding. |