source: trip-planner-front/node_modules/@angular/material/tree/node.d.ts@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 2.4 KB
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 */
8import { CdkNestedTreeNode, CdkTree, CdkTreeNode, CdkTreeNodeDef } from '@angular/cdk/tree';
9import { AfterContentInit, DoCheck, ElementRef, IterableDiffers, OnDestroy, OnInit } from '@angular/core';
10import { CanDisable, HasTabIndex } from '@angular/material/core';
11import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
12declare const _MatTreeNodeBase: import("@angular/material/core/common-behaviors/constructor").Constructor<HasTabIndex> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<HasTabIndex> & import("@angular/material/core/common-behaviors/constructor").Constructor<CanDisable> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<CanDisable> & typeof CdkTreeNode;
13/**
14 * Wrapper for the CdkTree node with Material design styles.
15 */
16export declare class MatTreeNode<T, K = T> extends _MatTreeNodeBase<T, K> implements CanDisable, DoCheck, HasTabIndex, OnInit, OnDestroy {
17 constructor(elementRef: ElementRef<HTMLElement>, tree: CdkTree<T, K>, tabIndex: string);
18 ngOnInit(): void;
19 ngDoCheck(): void;
20 ngOnDestroy(): void;
21 static ngAcceptInputType_disabled: BooleanInput;
22 static ngAcceptInputType_tabIndex: NumberInput;
23}
24/**
25 * Wrapper for the CdkTree node definition with Material design styles.
26 * Captures the node's template and a when predicate that describes when this node should be used.
27 */
28export declare class MatTreeNodeDef<T> extends CdkTreeNodeDef<T> {
29 data: T;
30}
31/**
32 * Wrapper for the CdkTree nested node with Material design styles.
33 */
34export declare class MatNestedTreeNode<T, K = T> extends CdkNestedTreeNode<T, K> implements AfterContentInit, DoCheck, OnDestroy, OnInit {
35 node: T;
36 /** Whether the node is disabled. */
37 get disabled(): any;
38 set disabled(value: any);
39 private _disabled;
40 /** Tabindex for the node. */
41 get tabIndex(): number;
42 set tabIndex(value: number);
43 private _tabIndex;
44 constructor(elementRef: ElementRef<HTMLElement>, tree: CdkTree<T, K>, differs: IterableDiffers, tabIndex: string);
45 ngOnInit(): void;
46 ngDoCheck(): void;
47 ngAfterContentInit(): void;
48 ngOnDestroy(): void;
49 static ngAcceptInputType_disabled: BooleanInput;
50}
51export {};
Note: See TracBrowser for help on using the repository browser.