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:
1.3 KB
|
Rev | Line | |
---|
[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 | */
|
---|
| 8 | import { InjectionToken } from '@angular/core';
|
---|
| 9 | /**
|
---|
| 10 | * Injection token that can be used to reference instances of `MatHint`. It serves as
|
---|
| 11 | * alternative token to the actual `MatHint` class which could cause unnecessary
|
---|
| 12 | * retention of the class and its directive metadata.
|
---|
| 13 | *
|
---|
| 14 | * *Note*: This is not part of the public API as the MDC-based form-field will not
|
---|
| 15 | * need a lightweight token for `MatHint` and we want to reduce breaking changes.
|
---|
| 16 | */
|
---|
| 17 | import * as ɵngcc0 from '@angular/core';
|
---|
| 18 | export declare const _MAT_HINT: InjectionToken<MatHint>;
|
---|
| 19 | /** Hint text to be shown underneath the form field control. */
|
---|
| 20 | export declare class MatHint {
|
---|
| 21 | /** Whether to align the hint label at the start or end of the line. */
|
---|
| 22 | align: 'start' | 'end';
|
---|
| 23 | /** Unique ID for the hint. Used for the aria-describedby on the form field control. */
|
---|
| 24 | id: string;
|
---|
| 25 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<MatHint, never>;
|
---|
| 26 | static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration<MatHint, "mat-hint", never, { "align": "align"; "id": "id"; }, {}, never>;
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | //# sourceMappingURL=hint.d.ts.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.