Skip to content

Mobile Nav Toggle

@astryxdesign/core v0.7.1 · MobileNavToggle

MobileNavToggle Props ​

NameTypeDefaultDescription
isOpenbooleanfalseOpen state of the drawer, paired with v-model:is-open. The glyph and aria-expanded follow it.
labelstring—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.
controlsstring—Id of the drawer, written to aria-controls.

Events ​

NamePayloadDescription
update:isOpenbooleanThe 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.