chore(docs): hide value accessors from docs (#13453)

* Since we recently added logic for showing constants in the docs, we should avoid showing the value accessor constants which are actually just used kind-of internally.
This commit is contained in:
Paul Gschwendtner
2018-10-05 23:14:04 +02:00
committed by vivian-hu
parent e4cf0599e7
commit b7de6be7ed
3 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -36,14 +36,14 @@ import {Subscription} from 'rxjs';
import {MatDatepicker} from './datepicker';
import {createMissingDateImplError} from './datepicker-errors';
/** @docs-private */
export const MAT_DATEPICKER_VALUE_ACCESSOR: any = {
provide: NG_VALUE_ACCESSOR,
useExisting: forwardRef(() => MatDatepickerInput),
multi: true
};
/** @docs-private */
export const MAT_DATEPICKER_VALIDATORS: any = {
provide: NG_VALIDATORS,
useExisting: forwardRef(() => MatDatepickerInput),
+1
View File
@@ -49,6 +49,7 @@ import {
// Increasing integer for generating unique ids for slide-toggle components.
let nextUniqueId = 0;
/** @docs-private */
export const MAT_SLIDE_TOGGLE_VALUE_ACCESSOR: any = {
provide: NG_VALUE_ACCESSOR,
useExisting: forwardRef(() => MatSlideToggle),
+1
View File
@@ -70,6 +70,7 @@ const MIN_VALUE_ACTIVE_THUMB_GAP = 10;
/**
* Provider Expression that allows mat-slider to register as a ControlValueAccessor.
* This allows it to support [(ngModel)] and [formControl].
* @docs-private
*/
export const MAT_SLIDER_VALUE_ACCESSOR: any = {
provide: NG_VALUE_ACCESSOR,