Skip to content

Commit

Permalink
Update doc on the scroll event + footer link
Browse files Browse the repository at this point in the history
  • Loading branch information
louisameline committed Mar 24, 2017
1 parent a41fdc8 commit db67d09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1411,7 +1411,7 @@ <h4 id="event-types">Event types</h4>

<p><span class="code">repositioned</span> happens after Tooltipster repositioned of the tooltip. The event has a special <span class="code">event.position</span> with positioning information.</p>

<p><span class="code">scroll</span> happens whenever a parent of the origin is scrolled. The native scroll event is passed as <span class="code">event.event</span>.</p>
<p><span class="code">scroll</span> happens whenever a parent of the origin is scrolled. The native scroll event is passed as <span class="code">event.event</span>. If the scroll event was triggered on another element than the window, a special <span class="code">event.geometry</span> property gives you information about the page and the origin.</p>

<p><span class="code">start</span> happens when the <span class="code">mouseenter</span> or <span class="code">touchstart</span> open triggers are used and that the origin gets mouseover/touched. The event has a special <span class="code">event.stop</span> property which is a function you may call to prevent the tooltip from opening.</p>

Expand Down Expand Up @@ -1751,6 +1751,7 @@ <h4>"How compatible is Tooltipster with old versions of Internet Explorer ?"</h4
</section>

<footer>
Tooltipster, the <a href="http://iamceege.github.io/tooltipster/" class="white">javascript tooltip</a> library.<br />
Developed and maintained by <a href="https://plus.google.com/116532683962309427991?rel=author" class="white">Caleb Jacob</a> and <a href="https://github.com/louisameline" class="white">Louis Ameline</a> under the <a href="http://opensource.org/licenses/MIT" class="white">MIT license</a>
</footer>
</div>
Expand Down

0 comments on commit db67d09

Please sign in to comment.