Socket
Socket
Sign inDemoInstall

vue-ctk-time-picker

Package Overview
Dependencies
133
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vue-ctk-time-picker

A vue component for select time (by Chronotruck)


Version published
Maintainers
1
Install size
35.0 MB
Created

Readme

Source

vue-ctk-time-picker

A vue component for select time (by Chronotruck)

Demo

An example is available

Install

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

var yourComponent = new Vue({
  components: { CtkTimePicker },
  ...
})
<template>
  ...
  <ctk-time-picker
    v-model="value" // if you want init value : always this format 'HH:mm'
    :label="'Choose a time'"
    :hint="'Text'"
    :error-hint="true"
    :minute-interval="10"
    color="#FF0000" />
  ...
</template>  

Props API

PropsTypeRequiredDefaultOptions
v-modelString/Inttrue--
labelStringfalseEnter Text-
typeStringnotexttext or number
hint*textno-
error-hint**Booleannofalse
color***String (hex)nododgerblue
minute-intervalIntno1

*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

Contribution

# install dependencies
npm install

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

FAQs

Last updated on 07 May 2018

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc