vue-selectize

A Vue.js directive for selectize.js
9,747 24
Install
npm install vue-selectize
Latest Version:0.0.3
License:ISC
Last Updated:Apr 18, 2018
Links: GitHub  ·  npm
Maintainer: michaelowens

vue-selectize

A Vue.js directive for selectize.js.

Requirements

  • Vue.js ^0.12.0
  • Selectize.js (and its dependencies)

Installation

$ npm install vue-selectize --save

Usage

When using webpack or browserify:

var Vue = require('vue');
var selectize = require('vue-selectize');

Vue.use(selectize);

Or when including directly in your HTML:

Vue.use(window['vue-selectize']);

After installing the plugin with Vue.use you can use the v-selectize directive.

<select v-selectize="selected" options="items"></select>

<!-- or -->

<select v-selectize="selected">
    <option value="one">Static item 1</option>
    <option value="two">Static item 2</option>
    <option value="three">Static item 3</option>
</select>

<!-- or -->

<select v-selectize="selected" options="items" settings="customSettings">
</select>
  • selected is the selected value
  • items is an array of the initial available options
  • customSettings is an object with settings that will be passed to selectize

Related Packages

vue3-select-component

A flexible & modern select-input control for Vue 3.

649,098 119
tselect

Dropdown menu for VueJs

348 1
@isneezy/vue-selectize

Vanila Vue.js component that mimics Selectize behaviour (no need jquery dependen...

15,958 74
vue2-selectize

A Selectize wrapper for VueJS.

79,928 49
vue-tags-component

Vue.js 2+ tags component

5,521 25

Version History

Version Released License
0.0.3 ISC
0.0.2 ISC
0.0.1 ISC