Accordion
LmnAccordionComponent
import { LmnAccordionComponent } from '@elemental/ui';
Decorators: |
|
Selectors: |
|
Properties
Name | Type | Description |
---|---|---|
allowMultipleExpandedPanels |
| Allow to expand and keep open more panels |
hideDivider |
| Hide the divider lines between panel |
nativeElement r | HTMLElement | |
negative |
| Set negative state |
togglePosition |
| Define whether to show the toggle button at the start or end of the Accordion Panel header component. |
LmnAccordionPanelComponent
import { LmnAccordionPanelComponent } from '@elemental/ui';
Decorators: |
|
Selectors: |
|
Properties
Name | Type | Description |
---|---|---|
customHeader r |
| |
nativeElement r | HTMLElement | |
open r |
| |
panelTitle r |
| |
toggle r |
|
Methods
closePanel() |
---|
Method to close the Accordion panel. Can be called by the parent LmnAccordionComponent |
Presentation
|
Returnsvoid |
openPanel() |
---|
Opens the Accordion panel. Can be called by the parent LmnAccordionPanelComponent. |
Presentation
|
Returnsvoid |
togglePanel() | ||||||
---|---|---|---|---|---|---|
Toggles the Accordion panel's open/closed state. | ||||||
Presentation
| ||||||
Parameters
Returnsvoid |
LmnAccordionPanelHeaderComponent
import { LmnAccordionPanelHeaderComponent } from '@elemental/ui';
Decorators: |
|
Selectors: |
|
Properties
Name | Type | Description |
---|---|---|
nativeElement r | HTMLElement |
LmnAccordionService
import { LmnAccordionService } from '@elemental/ui';
Decorators: |
|
Properties
Name | Type | Description |
---|---|---|
allowMultipleExpandedPanels |
| |
closeAllPanels$ |
| |
keepOpenOnlyTheFirstOpenedPanel |
| |
negative |
| |
showDivider |
| |
togglePosition |
|
Methods
closeAllPanels() |
---|
No documentation has been provided. |
Presentation
|
Returnsvoid |
setAllowMultipleExpandedPanels() | ||||||
---|---|---|---|---|---|---|
No documentation has been provided. | ||||||
Presentation
| ||||||
Parameters
Returnsvoid |
setNegative() | ||||||
---|---|---|---|---|---|---|
No documentation has been provided. | ||||||
Presentation
| ||||||
Parameters
Returnsvoid |
setShowDivider() | ||||||
---|---|---|---|---|---|---|
No documentation has been provided. | ||||||
Presentation
| ||||||
Parameters
Returnsvoid |
setTogglePosition() | ||||||
---|---|---|---|---|---|---|
No documentation has been provided. | ||||||
Presentation
| ||||||
Parameters
Returnsvoid |