Show/Hide
Lacinia neque, sit amet dictum enim enim ut libero. Pellentesque sagittis tellus.
This content is hidden by default. Lacinia neque, sit amet dictum enim enim ut libero. Pellentesque sagittis tellus.
Custom labels example...
This example uses the opened-label and closed-label attributes.
Open by default example
This content is visible by default because of the open attribute.
certara-show-hide
Section titled “certara-show-hide”Properties
Section titled “Properties”closedLabel
| Attribute | closed-label |
| Type | string |
| Default | 'Show more' |
| Required | false |
| Description | Default label for closed state |
open
| Attribute | open |
| Type | boolean |
| Default | false |
| Required | false |
| Description | Hidden content will be visible |
openedLabel
| Attribute | opened-label |
| Type | string |
| Default | 'Show less' |
| Required | false |
| Description | Default label for opened state |
Events
Section titled “Events”| Name | Description | Bubbles |
|---|---|---|
certaraClick | true |
Methods
Section titled “Methods”There are no public methods available for this component
| Name | Description |
|---|---|
| Container for visible content | |
hidden-content | Container for the hidden content |