1.2.4 • Published 11 months ago

vue3-time-picker-plugin v1.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
11 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. :)

Inspired by

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

1.2.4

11 months ago

1.2.3

11 months ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago