Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
vue-ctk-date-time-picker
Advanced tools
A vue component for select date & time (by Chronotruck)
A demo
yarn add vue-ctk-date-time-picker
npm i --save vue-ctk-date-time-picker
npm run serve
import VueCtkDateTimePicker from 'vue-ctk-date-time-picker';
import 'vue-ctk-date-time-picker/dist/vue-ctk-date-time-picker.min.css';
Vue.component('vue-ctk-date-time-picker', VueCtkDateTimePicker);
<vue-ctk-date-time-picker></vue-ctk-date-time-picker>
<vue-ctk-date-time-picker></vue-ctk-date-time-picker>
<script src="https://unpkg.com/vue" charset="utf-8"></script>
<script src="./dist/umd/vue-ctk-date-time-picker.min.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="./dist/umd/vue-ctk-date-time-picker.min.css">
<script type="text/javascript">
Vue.component('vue-ctk-date-time-picker', window.VueCtkDateTimePicker.default);
</script>
Props | Type | Required | Default |
---|---|---|---|
v-model | String/Int | yes | - |
label | String | no | Select date & time |
hint* | text | no | - |
error-hint** | Boolean | no | false |
color*** | String (hex) | no | dodgerblue |
minute-interval | Int | no | 1 |
formatted | string | no | 'llll' (momentjs format) |
format | string | no | 'YYYY-MM-DDTHH:mm' |
time-format | string | no | 'H:mm a' |
locale | string | no | en |
disable-time | Boolean | no | false |
disable-date | Boolean | no | false |
without-header | Boolean | no | false |
id | string | no | CtkDateTimePicker |
min-date**** | string | no | - |
max-date**** | string | no | - |
no-weekends-days | Boolean | no | false |
auto-close | Boolean | no | false |
without-input | Boolean | no | false |
*hint : Is a text that replaces the label/placeholder
**error-hint : When is true
--> Input border & label are red
***color: Replace color for the hint, the borders & time selected in dropdown
****min-date & max-date : Must be 'YYYY-MM-DD' format
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
Build configuration is located in the poi.config.js
file, to build just run: npm run build
, it will build to cjs
and umd
directories.
This template uses karma with chai by default, you can change test settings in poi.config.js
npm run test
npm run test:watch
npm run test:cov
This project is licensed under MIT License
FAQs
A vue component for select date & time (by Chronotruck)
The npm package vue-ctk-date-time-picker receives a total of 5,736 weekly downloads. As such, vue-ctk-date-time-picker popularity was classified as popular.
We found that vue-ctk-date-time-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.