domonji / vue-clock-picker Goto Github PK
View Code? Open in Web Editor NEWA vue-based time picker Component
Home Page: https://domon.me/vue-clock-picker
License: MIT License
A vue-based time picker Component
Home Page: https://domon.me/vue-clock-picker
License: MIT License
Thanks for the nice plugin. Unfortunately the events are not firing. I'm using vue.js version 2.5.17. Also if you add the v-model in the plugin, it can be easier for two way binding. Thanks.
12 hour format is not getting displayed. Whichever mode is chosen-12 or 24, it displays 24 hour format. Can anyone suggest why
Using rollup.js to handle bundling not webpack fyi, and after installing this package my build err'd with a "Cannot find constant HOURS". I notice that TImePickerGenerator.vue imports "HOURS", but in constValues.js it is exported as HOUR.
Don't open modal becourse click on time-picker run two function: toggleFocus() and onClearFocus() becourse element OutsideClickHandler catch this click as outside click. toggleFocus() - open modal then onClearFocus() close modal.
I think need add overElement data for TimePicker(), add
@mouseover="overElement=true" @mouseout="overElement=false"
to time-picker-preview,
and change onClearFocus() to:
!this.overElement && (this.focused = false)
!this.overElement && this.onFocusChanged && this.onFocusChanged(false)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.