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

Method _showPreviousPage

packages/main/src/YearRangePicker.ts:463–469  ·  view source on GitHub ↗

* Called by the Calendar component. * **Note:** when the user presses the "<" button in the calendar header (same as "PageUp") * @protected

()

Source from the content-addressed store, hash-verified

461 * @protected
462 */
463 _showPreviousPage() {
464 const pageSize = this._getPageSize();
465 this._modifyTimestampBy(-pageSize);
466
467 const amountInYears = pageSize * this._getRangeSize();
468 this._modifyGridStartBy(-amountInYears);
469 }
470
471 /**
472 * Called by the Calendar component.

Callers

nothing calls this directly

Calls 4

_getPageSizeMethod · 0.95
_modifyTimestampByMethod · 0.95
_getRangeSizeMethod · 0.95
_modifyGridStartByMethod · 0.95

Tested by

no test coverage detected