We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b4b3e4 commit 29f0281Copy full SHA for 29f0281
src/lib/input/input-value-accessor.ts
@@ -9,5 +9,11 @@
9
import {InjectionToken} from '@angular/core';
10
11
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
+ */
18
export const MAT_INPUT_VALUE_ACCESSOR =
- new InjectionToken<{value: any}>('MAT_INPIUT_VALUE_ACCESSOR');
19
+ new InjectionToken<{value: any}>('MAT_INPUT_VALUE_ACCESSOR');
0 commit comments