Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-ctk-date-time-picker

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-ctk-date-time-picker

A vue component for select date & time (by Chronotruck)

  • 1.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6K
decreased by-60.01%
Maintainers
1
Weekly downloads
 
Created
Source

vue-ctk-time-picker

A vue component for select date & time (by Chronotruck)

Demo

An example is available

Install

npm install vue-ctk-date-time-picker --save
In single component
import CtkDateTimePicker from 'vue-ctk-date-time-picker'

var yourComponent = new Vue({
  components: { CtkDateTimePicker },
  ...
})
<template>
  ...
  <ctk-date-time-picker
    v-model="value"
    :label="'Choose a time'"
    :hint="'Text'"
    :error-hint="true"
    :minute-interval="10" // (for time)
    color="#FF0000" />
  ...
</template>  

Props API

PropsTypeRequiredDefault
v-modelString/Inttrue-
labelStringfalseEnter Text
hint*textno-
error-hint**Booleannofalse
color***String (hex)nododgerblue
minute-intervalIntno1
formattedstringno'llll' (momentjs format)
formatstringno'YYYY-MM-DDTHH:mm'
time-formatstringno'H:mm a'
localestringnoen
disable-timeBooleannofalse
disable-dateBooleannofalse
without-headerBooleannofalse
idstringnoCtkDateTimePicker
min-date****stringno-
max-date****stringno-
without-button-actionBooleannofalse

*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

Contribution

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

Keywords

FAQs

Package last updated on 07 Jun 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc