MCPcopy
hub / github.com/Bistutu/FluentRead / createIconElement

Function createIconElement

entrypoints/utils/icon.ts:105–109  ·  view source on GitHub ↗
(iconContent: string)

Source from the content-addressed store, hash-verified

103
104// 创建图标元素
105function createIconElement(iconContent: string): HTMLElement {
106 const iconElement = document.createElement("div");
107 iconElement.innerHTML = iconContent;
108 return iconElement;
109}
110
111// 插入加载动画
112export function insertLoadingSpinner(

Callers 1

insertFailedTipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected