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