Skip to content

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.

Click the component to disclose its content.
The hidden content that is now shown.
<certara-disclosure summary="Label">
The hidden content that is now shown.
</certara-disclosure>

certara-disclosure

Properties

PropertyAttributeDescriptionTypeDefault
arrowEndarrow-endDisclosure arrow will show at the end of the contentbooleanfalse
hasPaddinghas-paddingContent is padded to be flush with the openerbooleanfalse
innerClassNameinner-class-nameAdditional class name(s) to apply to the inner content wrapperstringundefined
openopenHidden content will be visiblebooleanfalse
summarysummaryVisible label of the disclosure controlstringundefined

Slots

SlotDescription
Content hidden by the disclosure goes in the main slot
"custom-summary"Slot available if summary requires custom formatting

Disclosure can be set to be open by default
<certara-disclosure summary="Open" open>
Disclosure can be set to be open by default
</certara-disclosure>