Mobile Nav Toggle
@astryxdesign/core v0.7.1 · MobileNavToggle
MobileNavToggle Props
| Name | Type | Default | Description |
|---|---|---|---|
isOpen | boolean | false | Open state of the drawer, paired with v-model:is-open. The glyph and aria-expanded follow it. |
label | string | — | Accessible name of the button, written to aria-label. Left out, it comes from the locale messages: “Open menu”, or “Close” while the drawer is open. |
controls | string | — | Id of the drawer, written to aria-controls. |
Events
| Name | Payload | Description |
|---|---|---|
update:isOpen | boolean | The button was pressed; drives v-model:is-open. |
Slots
MobileNavToggle has no slots. It draws the built-in menu glyph, so there is nothing to put inside it.