File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -56,23 +56,35 @@ const floatingLabelScale = 0.75;
56
56
const outlineGapPadding = 5 ;
57
57
58
58
59
- // Boilerplate for applying mixins to MatFormField.
60
- /** @docs -private */
59
+ /**
60
+ * Boilerplate for applying mixins to MatFormField.
61
+ * @docs -private
62
+ */
61
63
export class MatFormFieldBase {
62
64
constructor ( public _elementRef : ElementRef ) { }
63
65
}
64
66
65
-
67
+ /**
68
+ * Base class to which we're applying the form field mixins.
69
+ * @docs -private
70
+ */
66
71
export const _MatFormFieldMixinBase = mixinColor ( MatFormFieldBase , 'primary' ) ;
67
72
68
-
73
+ /** Possible appearance styles for the form field. */
69
74
export type MatFormFieldAppearance = 'legacy' | 'standard' | 'fill' | 'outline' ;
70
75
71
-
76
+ /**
77
+ * Represents the default options form the form field that can be configured
78
+ * using the `MAT_FORM_FIELD_DEFAULT_OPTIONS` injection token.
79
+ */
72
80
export interface MatFormFieldDefaultOptions {
73
81
appearance ?: MatFormFieldAppearance ;
74
82
}
75
83
84
+ /**
85
+ * Injection token that can be used to configure the
86
+ * default options for all form field within an app.
87
+ */
76
88
export const MAT_FORM_FIELD_DEFAULT_OPTIONS =
77
89
new InjectionToken < MatFormFieldDefaultOptions > ( 'MAT_FORM_FIELD_DEFAULT_OPTIONS' ) ;
78
90
You can’t perform that action at this time.
0 commit comments