Disclosure
Disclosures are expandable areas of content that are summarized or otherwise labeled to indicate what they relate to. There is a trigger that must be manually selected which allows the user to show and hide the additional content that is available.
description prophasHover="false" Custom summary
slot="custom-summary" element
This
More complex formatting is available within a description has rich formatting
slot="custom-description" element
Alignment
Section titled “Alignment”certara-disclosure
Section titled “certara-disclosure”Properties
Section titled “Properties”alignItems
| Attribute | align-items |
| Type | "baseline" | "center" | "end" | "start" |
| Default | undefined |
| Required | false |
| Description | Control vertical alignment of disclosure triange |
arrowEnd
| Attribute | arrow-end |
| Type | boolean |
| Default | false |
| Required | false |
| Description | Disclosure arrow will show at the end of the content |
description
| Attribute | description |
| Type | string |
| Default | undefined |
| Required | false |
| Description | Description text that appears below label |
hasHover
| Attribute | has-hover |
| Type | boolean |
| Default | true |
| Required | false |
| Description | Controls the default hover effect |
hasPadding
| Attribute | has-padding |
| Type | boolean |
| Default | false |
| Required | false |
| Description | Content is padded to be flush with the opener |
innerClassName
| Attribute | inner-class-name |
| Type | string |
| Default | undefined |
| Required | false |
| Description | Additional class name(s) to apply to the inner content wrapper |
open
| Attribute | open |
| Type | boolean |
| Default | false |
| Required | false |
| Description | Hidden content will be visible |
summary
| Attribute | summary |
| Type | string |
| Default | undefined |
| Required | false |
| Description | Visible label of the disclosure control |
Events
Section titled “Events”There are no events available for this component
Methods
Section titled “Methods”There are no public methods available for this component
| Name | Description |
|---|---|
| Content hidden by the disclosure goes in the main slot | |
custom-description | Slot available if description requires custom formatting |
custom-summary | Slot available if summary requires custom formatting |