* // Individual module import
* import { TreeListModule } from 'patternfly-ng/list';
* // Or
* import { TreeListModule } from 'patternfly-ng';
*
* // angular-tree-component
* import { TreeModule } from 'angular-tree-component';
*
* @NgModule({
* imports: [TreeListModule, TreeModule...]
* })
* export class AppModule(){}
*
*
* Optional:
*
* import { ListEvent, TreeListConfig } from 'patternfly-ng/list';
*
*
* @deprecated The tree-list component is deprecated due to issues with Angular 6 and mobx autorun,
* introduced by angular-tree-component.
*
* See: https://github.com/patternfly/patternfly-ng/issues/381
*/
@Component({
encapsulation: ViewEncapsulation.None,
selector: 'pfng-tree-list',
templateUrl: './tree-list.component.html'
})
export class TreeListComponent extends ListBase implements DoCheck, OnInit {
/**
* The tree list config containing component properties
*/
@Input() config: TreeListConfig;
/**
* The name of the template containing loading layout
*/
@Input() loadTemplate: TemplateRef