diff --git a/apiExamples/highlight.html b/apiExamples/highlight.html new file mode 100644 index 0000000..44a5eb2 --- /dev/null +++ b/apiExamples/highlight.html @@ -0,0 +1,16 @@ + + Name + + Stops + Price + Duration + Departure + + Apples + Oranges + Peaches + + Arrival + No matching option + + diff --git a/docs/partials/index.md b/docs/partials/index.md index 1420f58..08a0ee2 100644 --- a/docs/partials/index.md +++ b/docs/partials/index.md @@ -87,6 +87,22 @@ The `type` attribute may be used to apply the corresponding `type` attribute on +## Highlight menu option + +The `auro-combobox` component supports the use of the highlight `auro-menu` when the value will be match with the list of menu. If you have another logic to highlight the menu ase on your needed u can set the `auro-menuoption` to have attribute `selected` to set the highlight. + +
+ + +
+ + + See code + + + + + ### Additional Use Case Examples #### Swapping Values Between Comboboxes