1.0.0 • Published 6 years ago

vue-js-toolbar v1.0.0

Weekly downloads
22
License
-
Repository
github
Last release
6 years ago

Vue.js 2 toolbar / toggle bar.

Imgur

Install:

npm install vue-js-toolbar --save

Import:

import Toolbar from 'vue-js-toolbar'
Vue.use(Toolbar)

Use:

<toolbar :value="true"
         :position="top" />

<toolbar :value="true"
         :position="left"
         :height="64"
         :width="64"
         :color="#4285F4" />

Properties

NameTypeDefaultDescription
valueBooleanfalseInitial state of the toolbar
positionStringtopPosition of the toolbar, accepts top, left, right, bottom
heightNumber64Height of the toolbar only applicable if the position is top or bottom. For left and right position the default height is 100%
widthNumber64Width of the toolbar only applicable if the position is left or right
colorString#4285F4Background color of the toolbar only accepts Hex value with #

Extra customization

To further customize, simply add style with required css changes:

<toolbar style="box-shadow: none;" />

License

MIT