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:
1013 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 { 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 | export declare const _MAT_HINT: InjectionToken<MatHint>;
|
---|
18 | /** Hint text to be shown underneath the form field control. */
|
---|
19 | export declare class MatHint {
|
---|
20 | /** Whether to align the hint label at the start or end of the line. */
|
---|
21 | align: 'start' | 'end';
|
---|
22 | /** Unique ID for the hint. Used for the aria-describedby on the form field control. */
|
---|
23 | id: string;
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.