Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-selectize

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-selectize

A Vue.js directive for selectize.js

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

Keywords

FAQs

Package last updated on 17 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc