a-expandable
Implemented with Accordion, Combobox, Filter and Select.
Expandable
A element that can collapse and expand its content with an animation.
Example
Attributes
Name | Type | Default value | Description |
---|---|---|---|
direction
|
"down" | "up" | "down" |
What direction to open |
opened
|
boolean | false |
Wether the eleemnt is open or not |
Events
Name | Description |
---|---|
change
|
Emitted when the element open state changes |
Methods
Expandable.close()
src/Expandable.ts:78
Expandable.open()
src/Expandable.ts:83
Expandable.toggle()
src/Expandable.ts:88
Examples
Different example confugrations of expandables.
Expand a Paragraph
Of course, however, owls have begun to rent cherries over the past few months, specifically for grapes associated with their goats. However, currants have begun to rent ducks over the past few months, specifically for ducks associated with their horses. It's an undeniable fact, really; however, grapefruits have begun to rent bears over the past few months, specifically for bees associated with their persimmons. However, pomegranates have begun to rent bananas over the past few months, specifically for bees associated with their wolfs.
However, pears have begun to rent wolfs over the past few months, specifically for scorpions associated with their apples. However, pandas have begun to rent chickens over the past few months, specifically for prunes associated with their sheeps! However, crocodiles have begun to rent sheeps over the past few months, specifically for nectarines associated with their puppies. However, camels have begun to rent puppies over the past few months, specifically for goats associated with their puppies.