replaceSync method

void replaceSync(
  1. String text
)

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

The replaceSync() and CSSStyleSheet.replace methods can only be used on a stylesheet created with the CSSStyleSheet.CSSStyleSheet constructor.

Implementation

external void replaceSync(String text);