Skip to content

Commit 8c0080f

Browse files
Update README.md
1 parent 73de557 commit 8c0080f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
## Usage
1010

1111
```js
12-
import $ from 'bianco.force-reflow'
12+
import forceReflow from 'bianco.force-reflow'
13+
14+
// force the reflow on a single element
15+
forceReflow(document.querySelector('#my-id'))
1316
```
1417

1518
[travis-image]: https://img.shields.io/travis/biancojs/force-reflow.svg?style=flat-square

0 commit comments

Comments
 (0)