vue-quick-menu

This is web navigation component base on vue2.0+. It can be used in both PC and mobile.

Installation

 npm install vue-quick-menu --save
Bash

Usage

<quick-menu :menu-count=count :icon-class=icons :menu-url-list=list></quick-menu>
XML
import Vue from 'vue'
import quickMenu from 'vue-quick-menu'

export default {
  ...
  components: {
    quickMenu
  },
  ...
}
JavaScript

Props

Property Type Default Description
menuCount Number 4 The number of menu item,option(2,3,4)
menuUrlList Array - An array of link of each menu item
iconClass Array - An array of icon class of each menu item
position top-left,top-right,bottom-left or bottom-right top-left The position of quick menu
backgroundColor String #009dc7 The background color of quick menu
color String #ffffff The color of quick menu icon
isOpenNewTab Boolean false If the menu will open a new tab after click

GitHub

This is web navigation component base on vue2.0+. It can be used in both PC and mobile.Read More

Latest commit to the master branch on 11-20-2020
Download as zip