Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Angular Directive for the Simple TreePicker jQuery plugin

Notifications You must be signed in to change notification settings

rigup/angular-simple-treepicker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular Simple TreePicker

Angular Directive for the Simple TreePicker jQuery plugin. Demo is here.

Usage

  • Add references to simple tree picker and the directive
<link rel="stylesheet" href="css/jquery.simple-tree-picker.css" />
<script src="js/jquery/jquery.js"></script>
<script src="js/angular/angular.js"></script>
<script src="js/jquery.simple-treepicker.js"></script>
<script src="js/angular-simple-treepicker.js"></script>
  • Add a dependency to the treepicker module in your application.
angular.module('MyApp', ['treepicker']);
  • Add a treepicker attribute to your <div> tag
  • Addng-model attribute for data-binding your model
  • Addng-tree attribute for data-binding your tree object
<div treepicker ng-model="myLocations" ng-tree="myTree" class="tree"></div>

About

Angular Directive for the Simple TreePicker jQuery plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published