mirror of
https://github.com/micku7zu/vanilla-tilt.js
synced 2024-06-01 21:32:11 +02:00
fix typo on examples page
This commit is contained in:
parent
1590a44958
commit
4676dd5609
|
@ -315,7 +315,7 @@ document.querySelector("#enable-button").addEventListener("click", function () {
|
|||
<div class="box" id="box-event"></div>
|
||||
<div class="info">
|
||||
<h3>Tilt change event</h3>
|
||||
<p>The tilt change event wil output the x,y & percentages of tilting.</p>
|
||||
<p>The tilt change event will output the x,y & percentages of tilting.</p>
|
||||
<pre><code class="language-javascript">let eventBox = document.querySelector("#box-event");
|
||||
let outputContainer = document.querySelector(".output");
|
||||
VanillaTilt.init(eventBox);
|
||||
|
|
Loading…
Reference in a new issue