source: trip-planner-front/node_modules/@angular/material/expansion/expansion-panel-header.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: 3.3 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 { FocusableOption, FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
9import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
10import { HasTabIndex } from '@angular/material/core';
11import { NumberInput } from '@angular/cdk/coercion';
12import { MatAccordionTogglePosition } from './accordion-base';
13import { MatExpansionPanel, MatExpansionPanelDefaultOptions } from './expansion-panel';
14/** @docs-private */
15declare abstract class MatExpansionPanelHeaderBase {
16 abstract readonly disabled: boolean;
17}
18declare const _MatExpansionPanelHeaderMixinBase: import("@angular/material/core/common-behaviors/constructor").Constructor<HasTabIndex> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<HasTabIndex> & typeof MatExpansionPanelHeaderBase;
19/**
20 * Header element of a `<mat-expansion-panel>`.
21 */
22export declare class MatExpansionPanelHeader extends _MatExpansionPanelHeaderMixinBase implements AfterViewInit, OnDestroy, FocusableOption, HasTabIndex {
23 panel: MatExpansionPanel;
24 private _element;
25 private _focusMonitor;
26 private _changeDetectorRef;
27 _animationMode?: string | undefined;
28 private _parentChangeSubscription;
29 constructor(panel: MatExpansionPanel, _element: ElementRef, _focusMonitor: FocusMonitor, _changeDetectorRef: ChangeDetectorRef, defaultOptions?: MatExpansionPanelDefaultOptions, _animationMode?: string | undefined, tabIndex?: string);
30 /** Height of the header while the panel is expanded. */
31 expandedHeight: string;
32 /** Height of the header while the panel is collapsed. */
33 collapsedHeight: string;
34 /**
35 * Whether the associated panel is disabled. Implemented as a part of `FocusableOption`.
36 * @docs-private
37 */
38 get disabled(): boolean;
39 /** Toggles the expanded state of the panel. */
40 _toggle(): void;
41 /** Gets whether the panel is expanded. */
42 _isExpanded(): boolean;
43 /** Gets the expanded state string of the panel. */
44 _getExpandedState(): string;
45 /** Gets the panel id. */
46 _getPanelId(): string;
47 /** Gets the toggle position for the header. */
48 _getTogglePosition(): MatAccordionTogglePosition;
49 /** Gets whether the expand indicator should be shown. */
50 _showToggle(): boolean;
51 /**
52 * Gets the current height of the header. Null if no custom height has been
53 * specified, and if the default height from the stylesheet should be used.
54 */
55 _getHeaderHeight(): string | null;
56 /** Handle keydown event calling to toggle() if appropriate. */
57 _keydown(event: KeyboardEvent): void;
58 /**
59 * Focuses the panel header. Implemented as a part of `FocusableOption`.
60 * @param origin Origin of the action that triggered the focus.
61 * @docs-private
62 */
63 focus(origin?: FocusOrigin, options?: FocusOptions): void;
64 ngAfterViewInit(): void;
65 ngOnDestroy(): void;
66 static ngAcceptInputType_tabIndex: NumberInput;
67}
68/**
69 * Description element of a `<mat-expansion-panel-header>`.
70 */
71export declare class MatExpansionPanelDescription {
72}
73/**
74 * Title element of a `<mat-expansion-panel-header>`.
75 */
76export declare class MatExpansionPanelTitle {
77}
78export {};
Note: See TracBrowser for help on using the repository browser.