source: trip-planner-front/node_modules/@angular/material/expansion/accordion.d.ts@ 6c1585f

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

initial commit

  • Property mode set to 100644
File size: 1.9 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 { QueryList, AfterContentInit, OnDestroy } from '@angular/core';
9import { BooleanInput } from '@angular/cdk/coercion';
10import { CdkAccordion } from '@angular/cdk/accordion';
11import { MatAccordionBase, MatAccordionDisplayMode, MatAccordionTogglePosition } from './accordion-base';
12import { MatExpansionPanelHeader } from './expansion-panel-header';
13/**
14 * Directive for a Material Design Accordion.
15 */
16export declare class MatAccordion extends CdkAccordion implements MatAccordionBase, AfterContentInit, OnDestroy {
17 private _keyManager;
18 /** Headers belonging to this accordion. */
19 private _ownHeaders;
20 /** All headers inside the accordion. Includes headers inside nested accordions. */
21 _headers: QueryList<MatExpansionPanelHeader>;
22 /** Whether the expansion indicator should be hidden. */
23 get hideToggle(): boolean;
24 set hideToggle(show: boolean);
25 private _hideToggle;
26 /**
27 * Display mode used for all expansion panels in the accordion. Currently two display
28 * modes exist:
29 * default - a gutter-like spacing is placed around any expanded panel, placing the expanded
30 * panel at a different elevation from the rest of the accordion.
31 * flat - no spacing is placed around expanded panels, showing all panels at the same
32 * elevation.
33 */
34 displayMode: MatAccordionDisplayMode;
35 /** The position of the expansion indicator. */
36 togglePosition: MatAccordionTogglePosition;
37 ngAfterContentInit(): void;
38 /** Handles keyboard events coming in from the panel headers. */
39 _handleHeaderKeydown(event: KeyboardEvent): void;
40 _handleHeaderFocus(header: MatExpansionPanelHeader): void;
41 ngOnDestroy(): void;
42 static ngAcceptInputType_hideToggle: BooleanInput;
43}
Note: See TracBrowser for help on using the repository browser.