MCPcopy Create free account
hub / github.com/Pecunia-Wallet/PecuniaWallet / getContentAttr

Function getContentAttr

src/app/components/code/code.component.ts:173–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171 }
172
173 getContentAttr(): string | undefined {
174 const attrs = this.ref.nativeElement.attributes
175 for (let i = 0, l = attrs.length; i < l; i++) {
176 if (attrs[i].name.startsWith("_nghost")) {
177 return `_ngcontent-${attrs[i].name.substring(8)}`
178 }
179 }
180 return undefined;
181 }
182
183 nullTrack() {}
184

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected