Skip to content

Commit b758600

Browse files
author
Julian Lloyd
committed
Revise README for v0.1.2
1 parent 1307680 commit b758600

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ You can pass an object to the constructor with your desired default configuratio
152152

153153
#### Generated HTML
154154

155-
The `scrollReveal.init()` method to checks for any new elements in the DOM. By default, this method fires on instantiation, but by changing amending our config object with `init: false`, one can then choose when `scrollReveal.init()` is first fired. (Say, after your DOM is updated.)
155+
The `scrollReveal.init()` method checks the DOM for all elements with `data-scroll-reveal` attributes, and initializes your reveal animations on them. By default, this method fires on instantiation, but by changing amending our config object with `init: false`, you can then choose when `scrollReveal.init()` is first fired. (Say, after your DOM is updated.)
156156

157-
It’s worth nothing, you can also call this method at any time to re-check the DOM for all elements with `data-scroll-reveal` attributes.
157+
^**Note:** It’s worth nothing, you can also call this method at any time to re-check the DOM.
158158

159159
*Example:*
160160
```html

0 commit comments

Comments
 (0)