8000 GitHub - singlecomm/angular-picker: A native, multi-selector list box for AngularJS
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

singlecomm/angular-picker

Repository files navigation

Angular-Picker

Build Status ScreenShot


Requirements

  • angular
  • angular-sanitize
  • bootstrap
  • font-awesome

Installation

  • Install with Bower bower install -S angular-picker

Usage

Load the script file angular-picker.js and the css file angular-picker.css in your application :

<script type="text/javascript" src="dist/angular-picker.min.js"></script>
<link rel="stylesheet" type="text/css" dist/angular-picker.min.css">

Add the angular-picker module as a dependency to your application module:

var app = angular.module('app', ['angularPicker'])

Define the data source in your controller:

app.controller('ctrl',function($scope) {
  $scope.choices = [
    {id: 1, label: 'item #1'}
  ];

Apply the directive:

<picker choices="choices" ng-model="selected"></picker>

Development and Testing

clone and repository and then

npm install && npm start

And now you can write your code in src/ directory.

Have fun!

LICENSE

MIT license

Copyright (c) 2015 SingleComm http://singlecomm.com

About

A native, multi-selector list box for AngularJS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
0