mirror of
https://github.com/wahyd4/docsify.git
synced 2026-08-28 06:36:20 +10:00
feat(plugin): add codesponsor plugin
This commit is contained in:
@@ -81,3 +81,8 @@ export function off (el, type, handler) {
|
||||
export function toggleClass (el, type, val) {
|
||||
el && el.classList[val ? type : 'toggle'](val || type)
|
||||
}
|
||||
|
||||
export function style (content) {
|
||||
appendTo(head, create('style', content))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user