This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@willsoto/vue-pickr

0.2.0 • Public • Published

Vue Pickr

pipeline status coverage report

Vue component wrapping Pickr

Installation

npm install @willsoto/vue-pickr pickr-widget
yarn add @willsoto/vue-pickr pickr-widget

Usage

Template

<div>
  <vue-pickr @pickr="pickr" :options="options"></vue-pickr>
</div>

Script

import VuePickr from '@willsoto/vue-pickr';

export default {
  name: 'my-component',
  components: {
    VuePickr
  },
  data() {
    return {
      // gives you access to the pickr instance
      // https://github.com/Simonwep/pickr#methods
      pickr: null,
      // https://github.com/Simonwep/pickr#optional-options
      options: {}
    };
  }
};

Readme

Keywords

none

Package Sidebar

Install

npm i @willsoto/vue-pickr

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

25 kB

Total Files

12

Last publish

Collaborators

  • paradox41