Accessible menu button component for Vue 2, following WAI-ARIA 1.1 authoring practices
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
src
.babelrc
.eslintignore
.gitignore
.travis.yml
LICENCE
README.md
package.json
webpack.config.js

README.md

Vue Menu Button (Work in Progress)

Accessible menu button Short animation showing the component

DEMO

Installation:

npm install vue-menu-button --save

Usage

import { MenuWrapper, MenuItem, MenuLink } from "vue-menu-button";
<menu-wrapper>
  <template slot="menu-button"
    >Click Me
  </template>
  <template slot="menu-content">
    <menu-link><a href="/foo">A link</a></menu-link>
    <menu-link><a href="/bar">Another link</a></menu-link>
    <menu-item @click="doSomething">A menu item</menu-item>
    <menu-item @click="doSomething">Another menu item</menu-item>
  </template>
</menu-wrapper>

Background