npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@moirei/vuetify-time-range-picker

v1.0.0

Published

Visually select time range.

Downloads

1

Readme

vuetify-time-range-picker

Similar to v-time-picker, this components allows you to visually select time ranges.

Demo Video

demo

Installation

npm i --save @moirei/vuetify-time-range-picker
# or yarn add @moirei/vuetify-time-range-picker

Usage

<template>
  <v-time-range-picker v-model="time"/>
</template>

Component

import { VTimeRangePicker } from '@moirei/vuetify-time-range-picker'

export default {
  components: { VTimeRangePicker },
  data: () => ({
    time: null,
  })
}

Plugin

import Vue from 'vue'
import VTimeRangePicker from '@moirei/vuetify-time-range-picker'
Vue.use(VTimeRangePicker)

new Vue({}).$mount('#app')

export default Vue.extend({
  data: () => ({
    time: null,
  })
})

API

props

| Name | Required? | Default | Type | Description | | -------------- | --------- | ------- | --------- | ------------------------------------------------------------------------------------ | | value | yes | | string | The v-model input prop | | allowed-hours | no | | function/array | Restricts which hours can be selected | | allowed-minutes | no | | function/array | Restricts which minutes can be selected | | allowed-seconds | no | | function/array | Restricts which seconds can be selected | | ampm-in-title | no | false | boolean | Place AM/PM switch in title, not near the clock. | | color | no | | string | Applies specified color to the control - it can be the name of material color (for example success or purple) or css color (#033 or rgba(255, 0, 0, 0.5)). | | dark | no | false | boolean | Applies the dark theme variant to the component. | | elevation | no | | string/number | Designates an elevation applied to the component between 0 and 24. | | format | no | 24hr | string | Defines the format of a time displayed in picker. Available options are ampm and 24hr.| | header-color | no | | string | Defines the header color. If not specified it will use the color defined by color prop or the default picker color.| | height | no | | string/number | Sets the height for the component. | | landscape | no | false | boolean | Orients picker horizontal. | | light | no | false | boolean | Applies the light theme variant to the component. | | max-height | no | | string/number | Sets the maximum height for the component. | | max-width | no | | string/number | Sets the maximum width for the component. | | min-height | no | | string/number | Sets the minimum height for the component. | | min-width | no | | string/number | Sets the minimum width for the component. | | no-title | no | false | boolean | Hide the picker title. | | outlined | no | false | boolean | Removes elevation (box-shadow) and adds a thin border. | | readonly | no | false | boolean | Puts picker in readonly state. | | rounded | no | false | boolean | Designates the border-radius applied to the component. | | shaped | no | false | boolean | Applies a large border radius on the top left and bottom right of the card. | | scrollable | no | false | boolean | Allows changing hour/minute with mouse scroll. | | tag | no | div | string | Specify a custom tag used on the root element. | | tile | no | false | boolean | Removes the component’s border-radius. | | use-seconds | no | false | boolean | Toggles the use of seconds in picker. | | width | no | | string/number | Sets the width for the component. |

events

| Name | Description | | -------------- | ------------------------------------------------- | | input | The v-model input event |

classes

| Name | Description | | ------------------------- | --------------------------------------- | | v-time-range | The components class |

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Changelog

Please see CHANGELOG.

Credits

License

MIT