VueTimeRange
Time Range Picker Based On Buefy And Vue
Environment
vue 2.5.13
buefy 0.6.3
Installation
npm i -S vue-time-range
Usage
main.js
;;;;; Vue;Vue; const store = ; Vue; store //...;
index.html
template
<time-range label-panel="TimeRange" label-start="From" label-end="To" :auto-fold="true" @time-range-change="(n, o) => yourMethod(n, o)" @tag-click="yourMethod"></time-range>
Store
state
this$storestateTimeRangedateTimeStartthis$storestateTimeRangedateTimeEnd
mutations
this$storethis$store
Demo