@logo-software/tree
TypeScript icon, indicating that this package has built-in type declarations

11.0.0 • Public • Published

Tree Module

A tree view represents a hierarchical view of information, where each item can have a number of subitems. Click on the arrow(s) to open or close the tree branches.

Click here for demo

Installation

All public npm packages of Logo Software is at https://www.npmjs.com/~logofe. To install Tree Module:

$ npm set registry https://registry.npmjs.org/
$ npm install @logo-software/tree -s

Then add TreeModule to @NgModule imports section

app.module.ts

@NgModule({
  imports: [CommonModule, TreeModule],
})
export class AppModule {
}

Tree Component

Almost anything can be represented in a tree structure. Examples include directories, organization hierarchies, biological classifications, countries, etc. The Tree component is a way of representing the hierarchical relationship between these things. You can also expand, collapse, and select a treeNode within a Tree.

Add the below code to your code stack and give initializer parameters.

app.component.html

<logo-tree [items]="items" [start]="0" [iconClasses]=""></logo-tree>

For API details, please visit http://design.logo.com.tr/#/docs/components/components-overview

Dependents (1)

Package Sidebar

Install

npm i @logo-software/tree

Weekly Downloads

13

Version

11.0.0

License

See license in LICENSE file

Unpacked Size

238 kB

Total Files

22

Last publish

Collaborators

  • furkan.cetin
  • yusufyilmaz
  • serdarates
  • gamzeyapici
  • srknc
  • dotnet-ankara
  • murat.logo
  • serhan.gurbuz
  • gulnihaleksi