0.1.3 • Published 7 years ago

ember-cli-orgchart v0.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

ember-cli-orgchart

Brings jquery-orgchart functionality into your Ember app.

Installation

ember install ember-cli-orgchart

Usage

{{ember-orgchart
    data=chartData
    onClickNode="onClickNodeActionHandler"        
}}
chartData: [
    {id: 1, name: 'Acme Organization', parent: 0},
    {id: 2, name: 'CEO Office', parent: 1},
    {id: 3, name: 'Division 1', parent: 1},
    {id: 4, name: 'Division 2', parent: 1},
    {id: 6, name: 'Division 3', parent: 1},
    {id: 7, name: 'Division 4', parent: 1},
    {id: 8, name: 'Division 5', parent: 1},
    {id: 5, name: 'Sub Division', parent: 3}
]

actions: {
    onClickNodeActionHandler: function(node) {
        //
    }
}

Demo

  • Clone this repo: git clone
  • Install packages: npm install then bower install
  • Run ember serve
  • Visit the sample app at http://localhost:4200.
0.1.3

7 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago