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 04cdb13 commit 367160fCopy full SHA for 367160f
src/lib/paginator/paginator.ts
@@ -98,7 +98,13 @@ export class MatPaginator implements OnInit, OnDestroy {
98
private _pageSizeOptions: number[] = [];
99
100
/** Whether to hide the page size selection UI from the user. */
101
- @Input() hidePageSize = false;
+ @Input()
102
+ get hidePageSize(): boolean { return this._hidePageSize; }
103
+ set hidePageSize(value: boolean) {
104
+ this._hidePageSize = coerceBooleanProperty(value);
105
+ }
106
+ private _hidePageSize = false;
107
+
108
109
/** Whether to show the first/last buttons UI to the user. */
110
@Input()
0 commit comments