Socket
Socket
Sign inDemoInstall

multi-select-angularjs

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multi-select-angularjs

AngularJS directive for the "multi-select" jQuery plugin


Version published
Maintainers
1
Created
Source

https://nodei.co/npm/multi-select-angularjs.png?downloads=true&downloadRank=true&stars=true

HitCount contributions welcome

An AngularJS directive for the plugin multi-select

Table of content

Demo

Demo

Depenecies

  • jQuery 1.8+
  • angularjs
  • jquery.multi-select.js

Optional

  • jquery.quicksearch.js (docs - find the title Searchable)

Installation

npm install multi-select-angularjs --save
<link href="node_modules/multiselect/css/multi-select.css" rel="stylesheet" />

<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="node_modules/angular/angular.min.js"></script>
<script src="node_modules/multiselect/js/jquery.multi-select.js"></script>
<script src="node_modules/jquery.quicksearch/dist/jquery.quicksearch.min.js"></script>
<script src="node_modules/multi-select-angularjs/dist/angular.multi-select.js"></script>

Usage

javascript

app.module('your-modoule', ['jq-multi-select']);

html

<select multiple data-ng-options="option as option for option in options" data-ng-model="selectedOptions" data-multi-select="options"></select>

Options / Events

Pass the options (docs - find the title options) object into ms-options attribute.

javascript

$scope.msOptions = {
    afterInit: function (container) {
        console.log('afterInit');
    }
};

html

<select multiple data-ng-options="option as option for option in options" data-ng-model="selectedOptions3" data-multi-select="options" data-ms-options="msOptions2"></select>

Contributors

@bigtree6688 @flycal6

License

MIT License.

Keywords

FAQs

Package last updated on 24 Feb 2019

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