Useful functions for myself
目前為 2024-12-21 提交的版本,檢視 最新版本。
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
fixed an error description mistake
detectDom
Set
Array
addStyle
parentElement, css, id
css
css, id
Added detectDom, which provides ability to monitor document changes
$$CrE: Create new element with pre-configs
$$CrE
The third argument of DoLog now is changed from [Boolean]trace to [String]logger
DoLog
[Boolean]trace
[String]logger
addStyle now returns the
code improvements
addStyle arguments support: css | parentElement, css | parentElement, css, attributes
parentElement, css
parentElement, css, attributes
escJsStr支持转义\r,\n和\t
顯示所有腳本版本