Skip to content

jamshedhossan9/vue-hour-range-picker

Repository files navigation

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