Skip to content

injectStyles()

function injectStyles(doc?): void;

Adds the default stylesheet to a document once. Safe to call repeatedly; no-op without a DOM.

Parameter Type
doc Document | undefined

void