You can initialize TypesetBot with or without a variable.
unwatch and watch
TypesetBot will by default watch if the viewport changes and rerun everytime.
By calling unwatch() the TypesetBot instance will stop rerunning on viewport changes.
Calling watch() will have the TypesetBot instance watch for viewport changes again.
rerun
If you need to force a rerun of the typesetting algorithm call rerun() and the TypesetBot instance will rerun.
terminate
If you want to stop using TypesetBot you can call terminate() and content will revert to the original content and memory will be cleared up.
Events
typesetbot-viewport--reize
A single piece of code checks for viewport changes and dispatches an event to trigger all watching instances to rerun.
Fire an event if all watching TypesetBot instances should rerun.