angular-select

AngularJS module

Added by: Sam Deering

GitHub

Repository

marg51/angular-select

Stats

Stars: 0

Watchers: 0

Forks: 0

Module Description

angular-select

demo

angular-select help you to manage the selection.

How to use

add the dependency

var app = angular.module('myApp', ['mg-select']);

mgSelectService

Update the selection of your element based on the last selection of the user

app.directive('myDirective', function (mgSelectService) {
    return function (scope, elm, attrs) {
        mgSelectService.setSelection(elm[0]);
    }
});
Methods
  • setSelection
  • updateSelection
  • setSelectionRange
  • deepCount
properties
  • selection

Tested with Firefox and Chrome


TODO

Improve the docs ( How did I achieve the gif example ? ) Improve the demo

Does it work with Safari and IE ?

Tests

Module stats last updated: 2015-04-19 02:14:10

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!