You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

bs-multi-selector

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bs-multi-selector

Component Description

1.1.3
latest
Source
npm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

bs-multi-selector

A widget for beanstalk in selecting multiple entities from a selection drop-down.

Requirements

  • Angular 1.3
  • Lodash
  • jQuery

Installation

  • Install through npm npm install --save bs-multi-selector
  • Make sure your app depends upon 'bs-multi-selector':
angular.module('app', ['bs-multi-selector']);

Usage

Markup:

<bs-multi-selector 
  source="source" 
  selected-items="selectedItems" 
  placeholder="Type a collaborators name...">
</bs-multi-selector>

Scope:

$scope.source = [{
    "last_name": "William",
    "first_name": "Seward"
}, {
    "last_name": "Montgomery",
    "first_name": "Blair"
}, {
    "last_name": "Meriwether",
    "first_name": "Lewis"
}];

$scope.selectedItems = [];

Optionally pass a string "template" to the directive which will be used for a custom list element in the drop down window. The default template

Demo

http://beanstalkhq.github.io/bs-multi-selector/

FAQs

Package last updated on 14 May 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