Skip to content

Commit dbbca9c

Browse files
authored
Update refresh() method description in API.md
Clarified the description of the refresh() method to specify its utility after dynamically inserting new <style> elements.
1 parent 60201d6 commit dbbca9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ if (!hasNativeSupport()) {
9898

9999
#### `refresh()`
100100

101-
Manually trigger processing of existing stylesheets.
101+
Manually re-process all stylesheets in the document. Useful after dynamically inserting new `<style>` elements that the mutation observer may not have caught.
102102

103103
**Example:**
104104

0 commit comments

Comments
 (0)