src/app/components/indented-list/indented-list.component.ts
OnInit
OnDestroy
AfterViewInit
selector | app-indent |
styleUrls | ./indented-list.component.scss |
templateUrl | ./indented-list.component.html |
Properties |
|
Methods |
|
Inputs |
Outputs |
constructor(indentService: IndentedListService)
|
||||||
Parameters :
|
currentSheet | |
Type : Sheet
|
|
dataVersion | |
sheetData | |
Type : Row[]
|
|
Default value : []
|
|
closeIL | |
Type : EventEmitter
|
|
openBottomSheet | |
Type : EventEmitter
|
|
Public initializeTree | ||||||
initializeTree(data: ILNode)
|
||||||
Parameters :
Returns :
void
|
Optional activateNode |
dataSource |
Default value : new MatTreeFlatDataSource(this.treeControl, this.treeFlattener)
|
hasChild |
Default value : () => {...}
|
indentData |
Type : []
|
Default value : []
|
Public indentService |
Type : IndentedListService
|
indentTree |
Type : MatTree<>
|
Decorators :
@ViewChild('indentTree')
|
treeControl |
Default value : new FlatTreeControl<FlatNode>(
(node) => node.level,
(node) => node.expandable,
)
|
treeFlattener |
Default value : new MatTreeFlattener(
this.transformer,
(node) => node.level,
(node) => node.expandable,
(node) => node.children,
)
|
visible |
Default value : false
|
./indented-list.component.scss