Skip to content

Commit 29f0281

Browse files
committed
address comments
1 parent 8b4b3e4 commit 29f0281

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/lib/input/input-value-accessor.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,11 @@
99
import {InjectionToken} from '@angular/core';
1010

1111

12+
/**
13+
* This token is used to inject the object whose value should be set into `MatInput`. If none is
14+
* provided, the native `HTMLInputElement` is used. Directives like `MatDatepickerInput` can provide
15+
* themselves for this token, in order to make `MatInput` delegate the getting and setting of the
16+
* value to them.
17+
*/
1218
export const MAT_INPUT_VALUE_ACCESSOR =
13-
new InjectionToken<{value: any}>('MAT_INPIUT_VALUE_ACCESSOR');
19+
new InjectionToken<{value: any}>('MAT_INPUT_VALUE_ACCESSOR');

0 commit comments

Comments
 (0)