vue-hour-range-picker
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Vue Hour Range Picker

vue-hour-range-picker is a Vue component which lets you select hour ranges in weekly timeframe. Select and drag the mouse from starting to end hour block. It works with touch devices also and fully responsive.

It is currently compatible with Vue3 only.

Installation

npm install vue-hour-range-picker

Import

import { HourRangePicker, type HourRangePickerType } from 'vue-hour-range-picker';
import 'vue-hour-range-picker/style.css'; 

Usage


html:
    <HourRangePicker v-model="value1"></HourRangePicker>

js:
    import { ref } from 'vue';
    import { HourRangePicker, type HourRangePickerType } from 'vue-hour-range-picker';
    import 'vue-hour-range-picker/style.css';

    const value1 = ref<HourRangePickerType>();
    

Docs

For documentation and demo, see: https://jamshedhossan9.github.io/vue-hour-range-picker/

Contact

For bug reports and feature requests, please open an issue here on GitHub.

License

MIT

Copyright (C) 2024 - Jamshed Hossan

Package Sidebar

Install

npm i vue-hour-range-picker

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

54.3 kB

Total Files

12

Last publish

Collaborators

  • jamshedhossan9