UNPKG

@logo-software/tree

Version:

A tree view represents a hierarchical view of information, where each item can have a number of subitems.

42 lines (41 loc) 1.32 kB
/** * @license * Copyright LOGO YAZILIM SANAYİ VE TİCARET A.Ş. All Rights Reserved. * * Save to the extent permitted by law, you may not use, copy, modify, * distribute or create derivative works of this material or any part * of it without the prior written consent of LOGO YAZILIM SANAYİ VE TİCARET A.Ş. Limited. * Any reproduction of this material must contain this notice. */ import { HttpClient } from '@angular/common/http'; /** * 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. * * @stacked-example(Tree Showcase, logo/tree-sample/tree-showcase/tree-showcase.component) * * ### Installation * All public npm packages of Logo Software is at [https://www.npmjs.com/~logofe](https://www.npmjs.com/~logofe). * To install Tree Module: * * ```bash * $ npm set registry https://registry.npmjs.org/ * $ npm install @logo-software/tree -s * ``` * * Then add TreeModule to @NgModule `imports` section * * <sub>app.module.ts</sub> * * ```typescript * @NgModule({ * imports: [CommonModule, TreeModule], * }) * export class AppModule { * } * ``` */ export declare class TreeModule { private http; constructor(parentModule: TreeModule, http: HttpClient); }