Update README.md

This commit is contained in:
Șandor Sergiu 2018-12-14 10:41:15 +02:00 committed by GitHub
parent 26c648d8d9
commit f57ca7bcf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,6 +58,10 @@ element.vanillaTilt.getValues();
// Reset instance
element.vanillaTilt.reset();
// It also supports NodeList
const elements = document.querySelectorAll(".js-tilt");
VanillaTilt.init(elements);
```
### Install