Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
833 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC All Rights Reserved.
|
---|
4 | *
|
---|
5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
6 | * found in the LICENSE file at https://angular.io/license
|
---|
7 | */
|
---|
8 | import { CollectionViewer, DataSource } from '@angular/cdk/collections';
|
---|
9 | import { Observable } from 'rxjs';
|
---|
10 | /**
|
---|
11 | * Data source for nested tree.
|
---|
12 | *
|
---|
13 | * The data source for nested tree doesn't have to consider node flattener, or the way to expand
|
---|
14 | * or collapse. The expansion/collapsion will be handled by TreeControl and each non-leaf node.
|
---|
15 | */
|
---|
16 | export declare class MatTreeNestedDataSource<T> extends DataSource<T> {
|
---|
17 | /**
|
---|
18 | * Data for the nested tree
|
---|
19 | */
|
---|
20 | get data(): T[];
|
---|
21 | set data(value: T[]);
|
---|
22 | private readonly _data;
|
---|
23 | connect(collectionViewer: CollectionViewer): Observable<T[]>;
|
---|
24 | disconnect(): void;
|
---|
25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.