Show design guidelines
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.
The hidden content that is now shown.
certara-disclosure
Properties
Property Attribute Description Type Default arrowEndarrow-endDisclosure arrow will show at the end of the content booleanfalsehasPaddinghas-paddingContent is padded to be flush with the opener booleanfalseinnerClassNameinner-class-nameAdditional class name(s) to apply to the inner content wrapper stringundefinedopenopenHidden content will be visible booleanfalsesummarysummaryVisible label of the disclosure control stringundefined
Slots
Slot Description 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
The disclosure arrow shows at the end of the opener
Content is padded to be flush with the opener
Custom summary
More complex formatting is available within a slot="custom-summary" element
Label
The hidden content that is now shown.