← Về thư mục
frontend/src/islands/dom.ts
- $ · function · L33-L36 — function $(sel: string): HTMLElement | null
- el · function · L38-L47 — function el( tag: K, className?: string | null, text?: string | number | null, ): HTMLElementTagNameMap[K]
- icon · function · L49-L52 — function icon(name: string, size?: number, cls?: string): string
- iconEl · function · L54-L58 — function iconEl(name: string, size?: number, cls?: string): HTMLElement
- ghostIconBtn · function · L60-L65 — function ghostIconBtn(name: string, title?: string): HTMLButtonElement