Last change
on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
727 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 | */
|
---|
8 | import { 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 | */
|
---|
14 | export declare const MAT_ERROR: InjectionToken<MatError>;
|
---|
15 | /** Single error message to be shown underneath the form field. */
|
---|
16 | export declare class MatError {
|
---|
17 | id: string;
|
---|
18 | constructor(ariaLive: string, elementRef: ElementRef);
|
---|
19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.