v2.0.3

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

2.x 版移除的擴充與替代寫法列在已移除 API。
EN