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

Method onBeforeRendering

packages/main/src/YearRangePicker.ts:137–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135 }
136
137 onBeforeRendering() {
138 if (this._hidden) {
139 return;
140 }
141
142 this._gridStartYear = this._getGridStartYear();
143 this._yearRanges = this._getYearRanges();
144 }
145
146 _shouldShowOneColumn() {
147 const locale = getLocale();

Callers

nothing calls this directly

Calls 2

_getGridStartYearMethod · 0.95
_getYearRangesMethod · 0.95

Tested by

no test coverage detected