1.0.1 • Published 3 years ago

@mmmrks/vue-dropdown-menu v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
3 years ago

VueJS dropdown menu

npm.io

Install

npm i @mmmrks/vue-dropdown-menu

Usage

import dropdownMenu from '@mmmrks/vue-dropdown-menu
<dropdown-menu menu-title="Vue Dropdown Menu" dark-mode="auto" class="menu">

	<section class="option">
		<button @click="sayHello">This is button for method</button>
        <span class="desc">This is Vue dropdown menu method that says hello for you.</span>
	</section>

	<section class="option">
		<a href="https://duckduckgo.com">This is basic a -link</a>
        <span class="desc">Clicking this takes you somewhere else.</span>
	</section>

	<section class="option">
		<router-link to="/about">This is Vue router link</router-link>
        <span class="desc">Clicking this takes you somewhere else.</span>
	</section>

</dropdown-menu>

props

menu-title

Obvious.

dark-mode

false = Always light mode auto = Change according to what user prefers force = Always dark mode