Skip to content

Commit b7de6be

Browse files
devversionvivian-hu-zz
authored andcommitted
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.
1 parent e4cf059 commit b7de6be

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/lib/datepicker/datepicker-input.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ import {Subscription} from 'rxjs';
3636
import {MatDatepicker} from './datepicker';
3737
import {createMissingDateImplError} from './datepicker-errors';
3838

39-
39+
/** @docs-private */
4040
export const MAT_DATEPICKER_VALUE_ACCESSOR: any = {
4141
provide: NG_VALUE_ACCESSOR,
4242
useExisting: forwardRef(() => MatDatepickerInput),
4343
multi: true
4444
};
4545

46-
46+
/** @docs-private */
4747
export const MAT_DATEPICKER_VALIDATORS: any = {
4848
provide: NG_VALIDATORS,
4949
useExisting: forwardRef(() => MatDatepickerInput),

src/lib/slide-toggle/slide-toggle.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ import {
4949
// Increasing integer for generating unique ids for slide-toggle components.
5050
let nextUniqueId = 0;
5151

52+
/** @docs-private */
5253
export const MAT_SLIDE_TOGGLE_VALUE_ACCESSOR: any = {
5354
provide: NG_VALUE_ACCESSOR,
5455
useExisting: forwardRef(() => MatSlideToggle),

src/lib/slider/slider.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ const MIN_VALUE_ACTIVE_THUMB_GAP = 10;
7070
/**
7171
* Provider Expression that allows mat-slider to register as a ControlValueAccessor.
7272
* This allows it to support [(ngModel)] and [formControl].
73+
* @docs-private
7374
*/
7475
export const MAT_SLIDER_VALUE_ACCESSOR: any = {
7576
provide: NG_VALUE_ACCESSOR,

0 commit comments

Comments
 (0)