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

dtp-vuetify

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dtp-vuetify

DatetimePicker component for Vuetify.js.

  • 2.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

vuetify-datetime-picker

GitHub license npm version

DatetimePicker component for Vuetify.js.

Online Demo

Demo Source Code

Installation

npm i dtp-vuetify
import Vue from 'vue'
import DatetimePicker from 'dtp-vuetify'
// (Optional) import 'vuetify-datetime-picker/src/stylus/main.styl'

Vue.use(DatetimePicker)

If use the main.styl, you should configure the stylus-loader in webpack.config.js, or just ignore this style sheet.

Usage

Once installed, it can be used in a template as simply as:

<v-datetime-picker label="Select Datetime" v-model="datetime"> </v-datetime-picker>

Properties

NameTypeDefault ValueDescription
datetime (model)Date/StringTime picker model.
disabledBooleanfalseInput is disabled.
hideClearButtonBooleanfalseHide Clear button.
loadingBooleanfalseInput is loading.
labelstringSets input label.
dialogWidthNumber340The width of the dialog.
dateFormatstringyyyy-MM-ddDefines the format of a date.
timeFormatstringHH:mmDefines the format of a time.
clearTextstringCLEARSets the text of the clear button.
okTextstringOKSets the text of the ok button.
textFieldPropsObjectText fields properties. See Vuetify Docs
datePickerPropsObjectDate pickers properties.See Vuetify Docs
timePickerPropsObjectTime pickers properties.See Vuetify Docs

Events

NameArgumentsDescription
inputvalue (Date/String)The updated bound model

Slots

NameDescription
dateIconSlot to put custom icon in the date tab.
timeIconSlot to put custom icon in the time tab.
actionsSlot to put custom buttons in the dialog.
progressSlot for custom progress linear (displayed when loading prop is not equal to Boolean False)

FAQs

Package last updated on 12 Jan 2021

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