source: trip-planner-front/node_modules/@angular/material/expansion/accordion-base.d.ts@ 8d391a1

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

initial commit

  • Property mode set to 100644
File size: 1.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 { InjectionToken } from '@angular/core';
9import { CdkAccordion } from '@angular/cdk/accordion';
10/** MatAccordion's display modes. */
11export declare type MatAccordionDisplayMode = 'default' | 'flat';
12/** MatAccordion's toggle positions. */
13export declare type MatAccordionTogglePosition = 'before' | 'after';
14/**
15 * Base interface for a `MatAccordion`.
16 * @docs-private
17 */
18export interface MatAccordionBase extends CdkAccordion {
19 /** Whether the expansion indicator should be hidden. */
20 hideToggle: boolean;
21 /** Display mode used for all expansion panels in the accordion. */
22 displayMode: MatAccordionDisplayMode;
23 /** The position of the expansion indicator. */
24 togglePosition: MatAccordionTogglePosition;
25 /** Handles keyboard events coming in from the panel headers. */
26 _handleHeaderKeydown: (event: KeyboardEvent) => void;
27 /** Handles focus events on the panel headers. */
28 _handleHeaderFocus: (header: any) => void;
29}
30/**
31 * Token used to provide a `MatAccordion` to `MatExpansionPanel`.
32 * Used primarily to avoid circular imports between `MatAccordion` and `MatExpansionPanel`.
33 */
34export declare const MAT_ACCORDION: InjectionToken<MatAccordionBase>;
Note: See TracBrowser for help on using the repository browser.