angular-ju-multi-select

WebJar for angular-ju-multi-select

License

License

MIT
Categories

Categories

Angular User Interface Web Frameworks
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

angular-ju-multi-select
Last Version

Last Version

0.3.2
Release Date

Release Date

Type

Type

jar
Description

Description

angular-ju-multi-select
WebJar for angular-ju-multi-select
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/kaifer/angular-ju-multi-select

Download angular-ju-multi-select

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/angular-ju-multi-select/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>angular-ju-multi-select</artifactId>
    <version>0.3.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/angular-ju-multi-select/
implementation 'org.webjars.bower:angular-ju-multi-select:0.3.2'
// https://jarcasting.com/artifacts/org.webjars.bower/angular-ju-multi-select/
implementation ("org.webjars.bower:angular-ju-multi-select:0.3.2")
'org.webjars.bower:angular-ju-multi-select:jar:0.3.2'
<dependency org="org.webjars.bower" name="angular-ju-multi-select" rev="0.3.2">
  <artifact name="angular-ju-multi-select" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='angular-ju-multi-select', version='0.3.2')
)
libraryDependencies += "org.webjars.bower" % "angular-ju-multi-select" % "0.3.2"
[org.webjars.bower/angular-ju-multi-select "0.3.2"]

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.bower : bootstrap jar 3.3.1
org.webjars.bower : angular jar 1.2.27

Project Modules

There are no modules declared in this project.

angular-ju-multi-select

An AngularJS directive which creates a multiple selections. Doesn't require jQuery!

Requirements

Installing via Bower

bower install angular-ju-multi-select

Dependency

css

<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">

javascript

<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.18/angular.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.18/angular-route.min.js"></script>

Usage

Add the juMultiSelect module as a dependency to your application module:

var demoAppModule = angular.module('demoApp', ['ngRoute','juMultiSelect'])

Apply the directive to your elements:

<div ju-multi-select="params">
    <div class="col-xs-6">
        <ul ng-repeat="selectable in $selectable" ng-click="params.moveParentToSelected($index)">{{selectable.name}}
            <li ng-repeat="children in selectable.song" ng-click="params.moveChildToSelected($index,selectable,$event)">{{children.name}}</li>
         </ul>
        </div>
        <div class="col-xs-6">
            <ul ng-repeat="selected in $selected" ng-click="params.moveParentToSelectable($index)">{{selected.name}}
                <li ng-repeat="children in selected.song" ng-click="params.moveChildToSelectable($index,selected,$event)">{{children.name}}</li>
            </ul>
        </div>
    </div>
</div>

JuMultiSelectParams

Parameters

  • id : Property of identity field.
  • children : Property of children field.

Setting

  • getData : Function of data feed.

Versions

Version
0.3.2
0.3.1