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

Method getTag

packages/base/src/UI5ElementMetadata.ts:114–127  ·  view source on GitHub ↗

* Returns the tag of the UI5 Element * @public

()

Source from the content-addressed store, hash-verified

112 * @public
113 */
114 getTag(): string {
115 const pureTag = this.metadata.tag;
116
117 if (!pureTag) {
118 return "";
119 }
120
121 const suffix = getEffectiveScopingSuffixForTag(pureTag);
122 if (!suffix) {
123 return pureTag;
124 }
125
126 return `${pureTag}-${suffix}`;
127 }
128
129 /**
130 * Determines whether a property should have an attribute counterpart

Callers 14

vitest.test.jsFile · 0.80
_setSelectedDatesMethod · 0.80
reRenderAllUI5ElementsFunction · 0.80
checkAttributeUsageFunction · 0.80
connectedCallbackFunction · 0.80
_updateAttributeFunction · 0.80
defineFunction · 0.80
createReactComponentFunction · 0.80
preprocessFunction · 0.80
getEffectiveStyleFunction · 0.80
getConstructableStyleFunction · 0.80

Calls 1

Tested by

no test coverage detected