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

Method onBeforeRendering

packages/main/src/TimePicker.ts:416–422  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

414 }
415
416 onBeforeRendering() {
417 if (this.value) {
418 this.value = this.normalizeValue(this.value) || this.value;
419 }
420
421 this.tempValue = this.value && this.isValid(this.value) ? this.value : this.getFormat().format(UI5Date.getInstance());
422 }
423
424 get roleDescription() {
425 return TimePicker.i18nBundle.getText(TIMEPICKER_INPUT_DESCRIPTION);

Callers

nothing calls this directly

Calls 4

normalizeValueMethod · 0.95
isValidMethod · 0.95
getFormatMethod · 0.95
formatMethod · 0.45

Tested by

no test coverage detected