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;
5656const outlineGapPadding = 5 ;
5757
5858
59- // Boilerplate for applying mixins to MatFormField.
60- /** @docs -private */
59+ /**
60+ * Boilerplate for applying mixins to MatFormField.
61+ * @docs -private
62+ */
6163export class MatFormFieldBase {
6264 constructor ( public _elementRef : ElementRef ) { }
6365}
6466
65-
67+ /**
68+ * Base class to which we're applying the form field mixins.
69+ * @docs -private
70+ */
6671export const _MatFormFieldMixinBase = mixinColor ( MatFormFieldBase , 'primary' ) ;
6772
68-
73+ /** Possible appearance styles for the form field. */
6974export type MatFormFieldAppearance = 'legacy' | 'standard' | 'fill' | 'outline' ;
7075
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+ */
7280export interface MatFormFieldDefaultOptions {
7381 appearance ?: MatFormFieldAppearance ;
7482}
7583
84+ /**
85+ * Injection token that can be used to configure the
86+ * default options for all form field within an app.
87+ */
7688export const MAT_FORM_FIELD_DEFAULT_OPTIONS =
7789 new InjectionToken < MatFormFieldDefaultOptions > ( 'MAT_FORM_FIELD_DEFAULT_OPTIONS' ) ;
7890
You can’t perform that action at this time.
0 commit comments