MCPcopy Create free account
hub / github.com/angular/components / pageIndex

Method pageIndex

src/material/paginator/paginator.ts:134–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132 /** The zero-based page index of the displayed list of items. Defaulted to 0. */
133 @Input({transform: numberAttribute})
134 get pageIndex(): number {
135 return this._pageIndex;
136 }
137 set pageIndex(value: number) {
138 this._pageIndex = Math.max(value || 0, 0);
139 this._changeDetectorRef.markForCheck();

Calls 2

markForCheckMethod · 0.80
maxMethod · 0.45

Tested by

no test coverage detected