Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 724 Bytes

File metadata and controls

16 lines (9 loc) · 724 Bytes

!!! Callout

This component is intended only for internal Helios use. If you need to use it, contact the Design Systems Team. !!!

How to use this component

The DisclosurePrimitive component renders an interactive element that triggers a custom event handler provided by the :toggle block (passed via hash by Ember). To comply with accessibility best practices, this element is usually a button or a component that renders a button.

When the content is disclosed, the container can be closed by toggling the button (click or enter/return).

[[code-snippets/disclosure-primitive-basic]]

Content positioning

The :content block is not positioned in relation to the :toggle block.