source: trip-planner-front/node_modules/@angular/material/form-field/error.d.ts@ e29cc2e

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

initial commit

  • Property mode set to 100644
File size: 1012 bytes
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 { ElementRef, InjectionToken } from '@angular/core';
9/**
10 * Injection token that can be used to reference instances of `MatError`. It serves as
11 * alternative token to the actual `MatError` class which could cause unnecessary
12 * retention of the class and its directive metadata.
13 */
14import * as ɵngcc0 from '@angular/core';
15export declare const MAT_ERROR: InjectionToken<MatError>;
16/** Single error message to be shown underneath the form field. */
17export declare class MatError {
18 id: string;
19 constructor(ariaLive: string, elementRef: ElementRef);
20 static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<MatError, [{ attribute: "aria-live"; }, null]>;
21 static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration<MatError, "mat-error", never, { "id": "id"; }, {}, never>;
22}
23
24//# sourceMappingURL=error.d.ts.map
Note: See TracBrowser for help on using the repository browser.