Closed yhatt closed 2 years ago
Related: marp-team/marp-vscode#360
applyCustomElements must be called whenever calling browser() to make auto scaling custom elements recognize correctly.
applyCustomElements
browser()
A return value of browser() is still a cleanup function but having developer-friendly interface now.
ret.cleanup()
ret()
ret.update()
browser(target)
Related: marp-team/marp-vscode#360
applyCustomElements
must be called whenever callingbrowser()
to make auto scaling custom elements recognize correctly.A return value of
browser()
is still a cleanup function but having developer-friendly interface now.ret.cleanup()
: Exactly same asret()
.ret.update()
: Exactly same asbrowser(target)
, but it would make the intention for updating DOMs clear.