Angular Bootstrap DualListbox

Angular directive to include Bootstrap Dual Listbox in your apps.

View the Project on GitHub frapontillo/angular-bootstrap-duallistbox

Angular directive to include Bootstrap Dual Listbox in your apps.

Usage

Installation

$ bower install angular-bootstrap-duallistbox

This will install AngularJS, jQuery, and the original bootstrap-duallistbox.

Directive

The directive has to be applied to an already existing select element with the multiple attribute:

<select
    ng-options="el in elements"
    multiple
    ng-model="selections"
    bs-duallistbox
    ></select>

Set the select attributes as you would normally do for a regular multiple list, and add bs-duallistbox to enable the plugin.

Options

The available options for the dual listbox are:

Example

The example folder shows a simple working demo of the dual list box.

Development

Test and build

To build the directive yourself you need to have NodeJS. Then do the following:

$ npm install -g grunt-cli bower karma
$ npm install
$ bower install
$ grunt

Contribute

To contribute, please follow the generic AngularJS Contributing Guidelines, with the only exception to send the PR to the develop branch instead of master.

Author

Francesco Pontillo (francescopontillo@gmail.com)

License

   Copyright 2014 Francesco Pontillo

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.