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

Method _getPlaceholder

packages/main/src/MultiComboBox.ts:847–853  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

845 }
846
847 get _getPlaceholder(): string {
848 if (this._getSelectedItems().length) {
849 return "";
850 }
851
852 return this.placeholder || "";
853 }
854
855 // If the input is focused and the cursor is at the beginning/end of the input,
856 // focus the last token if the direction is LTR/ RTL

Callers

nothing calls this directly

Calls 1

_getSelectedItemsMethod · 0.95

Tested by

no test coverage detected