replaceSync

external fun replaceSync(text: String)(source)

The replaceSync() method of the CSSStyleSheet interface synchronously replaces the content of the stylesheet with the content passed into it.

MDN Reference