Skip to content

Commit

Permalink
perf(docs): add description for how to highlight option #169
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanjones243 committed Feb 27, 2024
1 parent 1d02fa7 commit 5e3884d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions demo/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,9 +539,8 @@ The `auro-menuoption` element supports the placement of the `disabled` attribute
<!-- AURO-GENERATED-CONTENT:END -->
</auro-accordion>

#### Menu with pre-selected menu option

The `auro-menu` element supports a pre-selected option via the `selected` attribute on the `auro-menuoption` element.
#### <a name="selected"></a>`selected`<a href="#" style="float: right; font-size: 1rem; font-weight: 100;">back to top</a>
Use the `selected` attribute to pre-select an option or highlight a specific `auro-menuoption` in the `auro-menu`.

<div class="exampleWrapper">
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/preselect.html) -->
Expand Down
4 changes: 2 additions & 2 deletions docs/partials/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ The `auro-menuoption` element supports the placement of the `disabled` attribute

</auro-accordion>

#### Menu with pre-selected menu option
#### `selected`

The `auro-menu` element supports a pre-selected option via the `selected` attribute on the `auro-menuoption` element.
Use the `selected` attribute to pre-select an option or highlight a specific `auro-menuoption` in the `auro-menu`.

<div class="exampleWrapper">
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/preselect.html) -->
Expand Down

0 comments on commit 5e3884d

Please sign in to comment.