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

cp-multi-selector

Package Overview
Dependencies
Maintainers
7
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cp-multi-selector

Component Description

  • 2.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-50%
Maintainers
7
Weekly downloads
 
Created
Source

cp-multi-selector

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

Requirements

  • Angular 1.3
  • Lodash
  • jQuery

Installation

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

Usage

Markup:

<cp-multi-selector 
  source="source" 
  selected-items="selectedItems" 
  placeholder="Type a collaborators name...">
</cp-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

Optionally pass a string "search-field" to the directive which will be used to search the given property.

Demo

http://canopytax.github.io/cp-multi-selector/

FAQs

Package last updated on 16 Mar 2017

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