MCPcopy Create free account
hub / github.com/hydro-dev/Hydro / get

Method get

packages/ui-default/components/DOMAttachedObject.ts:37–40  ·  view source on GitHub ↗
($obj)

Source from the content-addressed store, hash-verified

35 eventNS: string;
36
37 static get($obj) {
38 const key = this.DOMAttachKey;
39 return $obj.data(key);
40 }
41
42 static getOrConstruct<T = DOMAttachedObject>($obj, ...args): T {
43 const $singleObj = $obj.eq(0);

Callers 15

getOrConstructMethod · 0.95
detachAllMethod · 0.95
attachAllMethod · 0.45
clipboard.page.tsFile · 0.45
HistoryFunction · 0.45
onClickDummyBoxFunction · 0.45
onCommentClickEditFunction · 0.45
parseMediaFunction · 0.45
initAllMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected