Skip to content

marg51/angular-select

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

AngularJS module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published