Skip to content

Commit

Permalink
SWED-2505 documentation dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
goldenraphti committed Jun 20, 2024
1 parent c257c82 commit 9bedf79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/App/ComponentsDocumentation/components/Dropdown/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ const DeveloperDocumentation = () => (
Use <CodeTags type="secondary" code="dg.dropdown.init()" /> to initialize
all dropdowns. This will open and close the dropdowns automatically.
</p>
<p>
To initialize a given dropdown, use{" "}
<CodeTags type="secondary" code="dg.dropdown.init({id})" />.
</p>
<h3>Accessibility considerations</h3>
<p>
By default, keyboard navigation is implemented in the script. If your
Expand Down

0 comments on commit 9bedf79

Please sign in to comment.