Skip to content

Commit f5c0a8c

Browse files
committed
add init method to readme
1 parent ed956af commit f5c0a8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ Optionally pass a tag name to be applied to the outer most parallax element. For
113113

114114
The following are public methods available on the `ParallaxController` global:
115115

116+
**`init()`**
117+
118+
Initilize the `ParallaxController` on the client with the `init` static method.
119+
116120
**`update()`**
117121

118122
Updates all cached attributes for parallax elements then updates their positions.

0 commit comments

Comments
 (0)