MCPcopy Create free account
hub / github.com/UI5/webcomponents / _hasNextPage

Method _hasNextPage

packages/main/src/YearRangePicker.ts:453–456  ·  view source on GitHub ↗

* Called by the Calendar component. * @protected

()

Source from the content-addressed store, hash-verified

451 * @protected
452 */
453 _hasNextPage(): boolean {
454 const amountInYears = this._getPageSize() * this._getRangeSize();
455 return this._gridStartYear! + amountInYears - 1 < this._maxDate.getYear();
456 }
457
458 /**
459 * Called by the Calendar component.

Callers

nothing calls this directly

Calls 3

_getPageSizeMethod · 0.95
_getRangeSizeMethod · 0.95
getYearMethod · 0.80

Tested by

no test coverage detected