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

Function renderIcon

src/app/components/code/code.component.ts:74–78  ·  view source on GitHub ↗
(el: Element, name: string, width = 40, height = 40)

Source from the content-addressed store, hash-verified

72 }
73
74 protected renderIcon(el: Element, name: string, width = 40, height = 40) {
75 el.classList.add("key--icon");
76 el.innerHTML = `<img src="${server}/images/${name}.svg" alt="${name}"
77 style="width: ${width}px; height: ${height}px">`
78 }
79
80 funcButtonLeft(): FuncButton {
81 return {

Callers

nothing calls this directly

Calls 1

addMethod · 0.80

Tested by

no test coverage detected