install

fun install()

Wires up the viewport listener once.

Must be called from the browser only (a Docusaurus client module is also evaluated during the Node prerender pass, where there is no DOM).