source: trip-planner-front/node_modules/@angular/material/button/button.d.ts.__ivy_ngcc_bak@ 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: 2.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 { FocusMonitor, FocusableOption, FocusOrigin } from '@angular/cdk/a11y';
9import { BooleanInput } from '@angular/cdk/coercion';
10import { ElementRef, OnDestroy, AfterViewInit } from '@angular/core';
11import { CanColor, CanDisable, CanDisableRipple, MatRipple } from '@angular/material/core';
12declare const _MatButtonBase: import("@angular/material/core/common-behaviors/constructor").Constructor<CanColor> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<CanColor> & import("@angular/material/core/common-behaviors/constructor").Constructor<CanDisable> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<CanDisable> & import("@angular/material/core/common-behaviors/constructor").Constructor<CanDisableRipple> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<CanDisableRipple> & {
13 new (_elementRef: ElementRef): {
14 _elementRef: ElementRef;
15 };
16};
17/**
18 * Material design button.
19 */
20export declare class MatButton extends _MatButtonBase implements AfterViewInit, OnDestroy, CanDisable, CanColor, CanDisableRipple, FocusableOption {
21 private _focusMonitor;
22 _animationMode: string;
23 /** Whether the button is round. */
24 readonly isRoundButton: boolean;
25 /** Whether the button is icon button. */
26 readonly isIconButton: boolean;
27 /** Reference to the MatRipple instance of the button. */
28 ripple: MatRipple;
29 constructor(elementRef: ElementRef, _focusMonitor: FocusMonitor, _animationMode: string);
30 ngAfterViewInit(): void;
31 ngOnDestroy(): void;
32 /** Focuses the button. */
33 focus(origin?: FocusOrigin, options?: FocusOptions): void;
34 _getHostElement(): any;
35 _isRippleDisabled(): boolean;
36 /** Gets whether the button has one of the given attributes. */
37 _hasHostAttributes(...attributes: string[]): boolean;
38 static ngAcceptInputType_disabled: BooleanInput;
39 static ngAcceptInputType_disableRipple: BooleanInput;
40}
41/**
42 * Material design anchor button.
43 */
44export declare class MatAnchor extends MatButton {
45 /** Tabindex of the button. */
46 tabIndex: number;
47 constructor(focusMonitor: FocusMonitor, elementRef: ElementRef, animationMode: string);
48 _haltDisabledEvents(event: Event): void;
49}
50export {};
Note: See TracBrowser for help on using the repository browser.