source: trip-planner-front/node_modules/@angular/cdk/accordion/accordion.d.ts

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: 1.7 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 { BooleanInput } from '@angular/cdk/coercion';
9import { InjectionToken, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
10import { Subject } from 'rxjs';
11/**
12 * Injection token that can be used to reference instances of `CdkAccordion`. It serves
13 * as alternative token to the actual `CdkAccordion` class which could cause unnecessary
14 * retention of the class and its directive metadata.
15 */
16export declare const CDK_ACCORDION: InjectionToken<CdkAccordion>;
17/**
18 * Directive whose purpose is to manage the expanded state of CdkAccordionItem children.
19 */
20export declare class CdkAccordion implements OnDestroy, OnChanges {
21 /** Emits when the state of the accordion changes */
22 readonly _stateChanges: Subject<SimpleChanges>;
23 /** Stream that emits true/false when openAll/closeAll is triggered. */
24 readonly _openCloseAllActions: Subject<boolean>;
25 /** A readonly id value to use for unique selection coordination. */
26 readonly id: string;
27 /** Whether the accordion should allow multiple expanded accordion items simultaneously. */
28 get multi(): boolean;
29 set multi(multi: boolean);
30 private _multi;
31 /** Opens all enabled accordion items in an accordion where multi is enabled. */
32 openAll(): void;
33 /** Closes all enabled accordion items in an accordion where multi is enabled. */
34 closeAll(): void;
35 ngOnChanges(changes: SimpleChanges): void;
36 ngOnDestroy(): void;
37 static ngAcceptInputType_multi: BooleanInput;
38}
Note: See TracBrowser for help on using the repository browser.