API 參考
RenderJS 直接擴充原生建構子的 .prototype(src/prototype/*.ts),並非獨立 import 的模組。載入 bundle 後,以下所有方法即全域可用。
依擴充對象分頁
| 頁面 | 擴充對象 |
|---|---|
| String 擴充 | String |
| Element 擴充 | Element / DocumentFragment |
| HTMLElement 與連結擴充 | HTMLElement / HTMLLinkElement |
| Array 與 Object 擴充 | Array / Object |
| Map 與表單資料擴充 | Map / FormData / HTMLFormElement |
| URL 擴充 | URL |
| 全域函式 | window |
| Date 與 Number 擴充 | Date / Number |
| Image、File 與 Video 擴充 | Image / File / HTMLVideoElement |