vue-menu-button

0.2.3 • Public • Published

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>

Package Sidebar

Install

npm i vue-menu-button

Weekly Downloads

2

Version

0.2.3

License

MIT

Unpacked Size

16.4 kB

Total Files

12

Last publish

Collaborators

  • marcus-herrmann