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

Method displayValue

packages/main/src/DatePicker.ts:875–889  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

873 }
874
875 get displayValue(): string {
876 if (!this.getValueFormat().parse(this.value, true)) {
877 return this.value;
878 }
879
880 if (!this.value) {
881 return "";
882 }
883
884 if (this.isLiveUpdate) {
885 return this.liveValue!;
886 }
887
888 return this.getDisplayFormat().format(this.getValueFormat().parse(this.value, true), true);
889 }
890
891 get accInfo(): InputAccInfo {
892 return {

Callers

nothing calls this directly

Calls 4

parseMethod · 0.45
getValueFormatMethod · 0.45
formatMethod · 0.45
getDisplayFormatMethod · 0.45

Tested by

no test coverage detected