New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

angular-option-tree

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-option-tree

Angular Option Tree =================== [![Code Climate](https://codeclimate.com/github/LeeChSien/angular-option-tree.png)](https://codeclimate.com/github/LeeChSien/angular-option-tree) [![Build Status](https://travis-ci.org/LeeChSien/angular-option-tree.

latest
Source
npmnpm
Version
0.8.5
Version published
Maintainers
1
Created
Source

Angular Option Tree

Code Climate Build Status

Distributed via

Bower version

Demo

A directive to use jquery-option-tree with AngularJS.

Usage

  • Install with bower: bower install --save angular-option-tree
  • Include angular-option-tree.js.
  • Add option-tree to you app modules.
  • Use the option-tree directive.

Basic Example

<form class="form-horizontal" role="form" ng-controller="Demo1Ctrl">
  <input option-tree="tree_data" option-tree-class="form-contol">
</form>

option-tree: JSON object in angular controller scope.

option-tree-class: customize style for generated <select> element.

Loading Remote Data (JSON)

<form class="form-horizontal" role="form" ng-controller="Demo4Ctrl">
  <input option-tree option-tree-src="example.json" option-tree-class="form-control">
</form>

option-tree-src: remote JSON source.

License

MIT

FAQs

Package last updated on 09 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts