business logic, customer communication.

This commit is contained in:
tsanie committed 2023-04-06 17:35:09 +08:00
1 parent 7c5a9214a1
commit 6157f994a9
23 files changed
+717 -156

No files matched your search

+5 -1
View File
@@ -6,7 +6,7 @@
标签到指定的图标元素。
</p>
<h2>createIcon</h2>
<code>function createIcon(type: string, id: string): SVGElement</code>
<code>function createIcon(type: string, id: string, style?: { [key: string]: string }): SVGElement</code>
<h3>type: string</h3>
<p>
图标类型,可选值目前有 <code>fa-regular</code>、<code>fa-light</code>、<code>fa-solid</code>
@@ -16,6 +16,10 @@
图形 id,例如
<code>user-edit</code>、<code>address-card</code>、<code>frog</code>……
</p>
<h3>style?: { [key: string]: string }</h3>
<p>
自定义样式的对象
</p>
<h2>resolveIcon</h2>
<code>function resolveIcon(container: HTMLElement): HTMLElement</code>
<h3>container: HTMLElement</h3>