source: trip-planner-front/node_modules/@angular/material/datepicker/datepicker-toggle.d.ts@ eed0bf8

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

initial commit

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[6a3a178]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 { AfterContentInit, ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
10import { MatButton } from '@angular/material/button';
11import { MatDatepickerIntl } from './datepicker-intl';
12import { MatDatepickerControl, MatDatepickerPanel } from './datepicker-base';
13/** Can be used to override the icon of a `matDatepickerToggle`. */
14export declare class MatDatepickerToggleIcon {
15}
16export declare class MatDatepickerToggle<D> implements AfterContentInit, OnChanges, OnDestroy {
17 _intl: MatDatepickerIntl;
18 private _changeDetectorRef;
19 private _stateChanges;
20 /** Datepicker instance that the button will toggle. */
21 datepicker: MatDatepickerPanel<MatDatepickerControl<any>, D>;
22 /** Tabindex for the toggle. */
23 tabIndex: number | null;
24 /** Screenreader label for the button. */
25 ariaLabel: string;
26 /** Whether the toggle button is disabled. */
27 get disabled(): boolean;
28 set disabled(value: boolean);
29 private _disabled;
30 /** Whether ripples on the toggle should be disabled. */
31 disableRipple: boolean;
32 /** Custom icon set by the consumer. */
33 _customIcon: MatDatepickerToggleIcon;
34 /** Underlying button element. */
35 _button: MatButton;
36 constructor(_intl: MatDatepickerIntl, _changeDetectorRef: ChangeDetectorRef, defaultTabIndex: string);
37 ngOnChanges(changes: SimpleChanges): void;
38 ngOnDestroy(): void;
39 ngAfterContentInit(): void;
40 _open(event: Event): void;
41 private _watchStateChanges;
42 static ngAcceptInputType_disabled: BooleanInput;
43}
Note: See TracBrowser for help on using the repository browser.