The default constructor
The name of the template containing actions for each item
The tree list config containing component properties
The name of the template containing item layout
An array of items to display in the list
The name of the template containing loading layout
The event emitted when an action (e.g., button, kebab, etc.) has been selected
The event emitted when an item has been clicked
The event emitted when an item is double clicked
Catch-all event that is triggered for angular-tree-component
This event is fired any time moveNode is called for angular-tree-component
The event emitted when an item selection has been changed
Triggers when expanding / collapsing angular-tree-component nodes
Get the flag indicating list has no items
The flag indicating list has no items
Helper to generate selection change event
The selected item
Helper to generate double click event
The triggered event
The double clicked item
Helper to deselect given items items and children
The items to be deselected
Return component config
The component config
Helper to retrieve selected items
The items containing possible selections
A list of selected items
Helper to generate action select event
The selected action
Check if the component config has changed
Setup component configuration upon initialization
Helper to generate selection change event
The selected item
Select or deselect an item
The item to select or deselect
True if item should be selected
Helper to select a single item and deselect all others
The item to select
Set up default config
Helper to toggle item selection
The triggered event
The item to select
Helper to update angular-tree-component model
After adding or removing nodes from the tree, the update method must be called on the treeModel for it to take affect.
Generated using TypeDoc
Tree List component
For items, use a template named itemTemplate to contain content for each item. If using actions, use a template named actionTemplate to contain expandable content for the actions of each item. Use the loadTemplate to customize lazy loading messages.
Cannot use both multi-select and double click selection at the same time Cannot use both checkbox and click selection at the same time
For angular-tree-component options, see: https://angular2-tree.readme.io/docs
Usage:
import { TreeListModule } from 'patternfly-ng/list';
Or:
import { TreeListModule } from 'patternfly-ng';