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

    0.2.2 • 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

    Install

    npm i @logo-software/tree

    DownloadsWeekly Downloads

    6

    Version

    0.2.2

    License

    See license in LICENSE file

    Unpacked Size

    225 kB

    Total Files

    22

    Last publish

    Collaborators

    • hakan.tunc
    • srknc
    • logo.software
    • dotnet-ankara
    • murat.logo
    • serhan.gurbuz
    • gulnihaleksi