1.2.2 • Published 10 months ago

vue3-time-picker-plugin v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Vue 3 Time Picker Plugin

Simple, clean and easy to use time picker for Vue 3.

  • Lightweight
  • No dependencies
  • More features coming soon

Preview

demo

Get Started

Install:

npm i vue3-time-picker-plugin

Then, import and register the component and css:

import { createApp } from "vue";
import App from "./App.vue";

import timepicker from 'vue3-time-picker-plugin';
import 'vue3-time-picker-plugin/dist/style.css';

createApp(App)
    .use(timepicker)
    .mount("#app");

You can now use the component like so:

<Vue3TimePicker v-model="time" />

Documentation

Clearing input

Press backspace or delete to clear the input

Available Props

Prop NameTypeDefaultDescription
classesObject / ArrayAdd class to the input field
popupClassesObject / ArrayAdd class to the option popup
hourIncrementsNumber1Increment the hour options
minuteIncrementsNumber1Increment the minute options
disableMinutesBooleanfalseRemove minutes value (eg. 8AM)
removeHourPaddingBooleanfalseRemove the leading 0 from hour value

Donations

If it has saved you development time, you can buy me a cup of coffee. :)

npm.io

Inspired by

https://www.youtube.com/watch?v=97lSkxy7Wjk

1.2.2

10 months ago

1.2.1

10 months ago

1.2.0

10 months ago

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

11 months ago

1.0.12

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago