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

vuetify-components

v1.0.4

Published

UI components for Vuetify.js

Downloads

5

Readme

vuetify-components

GitHub license npm version CircleCI

UI components for Vuetify.js

Installation

npm install --save vuetify-components

or

yarn add vuetify-components
import Vue from 'vue'
import VuetifyComponents from 'vuetify-components'
import 'vuetify-components/src/stylus/main.styl'

Vue.use(VuetifyComponents)

Usage

Once installed, it can be used in a template as simply as:

MessageBox

Examples

<v-message
        v-model="message"
        text="Show Message!"
        :timeout="5000"
        color="success"
        @close="closeHandler">
</v-message>

Properties

| Name | Type | Default Value | Description | | --------------- | ------- | ------------- | --------------------------------------- | | display (model) | Boolean | false | Controls visibility. | | text | string | | Sets text. | | timeout | Number | 0 | Time (in milliseconds) to wait until snackbar is automatically hidden. Use 0 to keep open indefinitely. | | color | string | info | Applies specified color to the control. | | mode | string | vertical | Sets snackbar display mode. Available options are vertical and multi-line. | | closeText | string | Close | Sets the text of the button. |

Events

| Name | Arguments | Description | | -----------| -------------------| ------------------------ | | close | display (Boolean) | The close event |

ConfirmBox

Examples

<v-confirm-box
        v-model="confirmBox"
        title="Confirm Box Title"
        text="Confirm Box Text"
        :width="500"
        :cancel="cancelHandler"
        :ok="okHandler">
</v-confirm-box>

Properties

| Name | Type | Default Value | Description | | --------------- | -------- | ------------- | ------------------------------------------------ | | display (model) | Boolean | false | Controls visibility. | | title | string | | Sets title. | | text | string | | Sets text. | | width | Number | 400 | Sets the confirm box width. | | cancelText | string | CANCEL | Sets the text of the cancel button. | | okText | string | OK | Sets the text of the ok button. | | cancel | Function | | Sets the handler when the cancel button clicked. | | ok | Function | | Sets the handler when the ok button clicked. | | danger | Boolean | true | Sets the color of the ok button to danger. |

Events

| Name | Arguments | Description | | -----------| -------------------| ------------------------ | | hide | display (Boolean) | The hide event |

StaticTextField

Examples

<v-static-text-field
        :loading="loading"
        label="static text field"
        value="value"
        hint="hint"
        :counter="20"
        :persistentHint="true">
</v-static-text-field>

Properties

| Name | Type | Default Value | Description | | -------------- | -------- | ------------- | ------------------------------------------------ | | label | string | | Sets input label. | | value | string | | Input value. | | hint | string | | Hint text. | | counter | Number | | Creates counter for input length. | | persistentHint | Boolean | | Forces hint to always be visible. | | loading | Boolean | | Displays linear progress bar. | | progressColor | string | primary | Applies specified color to the progress control. | | progressWidth | Number | 3 | Sets the stroke of the circle in pixels/ |

SwitchField

Examples

<v-switch-field
        label="readonly switch field"
        :loading="loading"
        value="value"
        :readonly="true"
        :checked="false">
</v-switch-field>

Properties

| Name | Type | Default Value | Description | | ------------- | -------- | ------------- | -------------------------------------------------- | | label | string | | Sets input label. | | text | string | | Sets the text of the selection control component. | | loading | Boolean | | Displays linear progress bar. | | disabled | Boolean | | Input is disabled. | | value (model) | Boolean | | Sets the value of the selection control component. | | readonly | Boolean | false | Puts input in readonly state. | | progressColor | string | primary | Applies specified color to the progress control. | | progressWidth | Number | 3 | Sets the stroke of the circle in pixels/ |

Events

| Name | Arguments | Description | | -----------| -------------------| ------------------------------------------------------ | | change | checked (Boolean) | Emitted when the input is changed by user interaction. |