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

Function registerTag

packages/base/src/CustomElementsRegistry.ts:13–16  ·  view source on GitHub ↗
(tag: string)

Source from the content-addressed store, hash-verified

11const UNKNOWN_RUNTIME = -1;
12
13const registerTag = (tag: string) => {
14 Definitions.add(tag);
15 Tags.set(tag, getCurrentRuntimeIndex());
16};
17
18const isTagRegistered = (tag: string) => {
19 return Definitions.has(tag);

Callers 1

defineFunction · 0.85

Calls 2

getCurrentRuntimeIndexFunction · 0.85
addMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…