Skip to content

Commit

Permalink
Rebuild docs
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner committed Feb 26, 2020
1 parent dc4a958 commit 76e5760
Show file tree
Hide file tree
Showing 17 changed files with 2,083 additions and 13,479 deletions.
1,831 changes: 1,004 additions & 827 deletions dist/js/tether.esm.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/js/tether.esm.min.js

Large diffs are not rendered by default.

1,835 changes: 1,006 additions & 829 deletions dist/js/tether.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/js/tether.min.js

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions docs/intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,21 @@ <h2 id="methods">Methods</h2>
<li><code>destroy()</code> - Disable and remove all references</li>
<li><code>position()</code> - Manually trigger a repositioning</li>
</ul>
<h2 id="events">Events</h2>
<p>The <code>Tether</code> object also has events support, since it extends our <code>Evented</code> class.</p>
<p>The methods exposed to listen to events are:</p>
<ul>
<li><code>on(event, handler)</code> - Adds an event listener that is fired whenever the event is fired</li>
<li><code>once(event, handler)</code> - Adds an event listener that is only fired the first time the event is fired</li>
<li><code>off(event, handler)</code> - Removes the event listener</li>
<li><code>trigger(event)</code> - Manually triggers events</li>
</ul>
<p>The events fired are:</p>
<ul>
<li><code>repositioned</code> - Fired whenever the tether element is moved</li>
<li><code>update</code> - Fired whenever the Tether instance runs into a constraint. You could use this
for things like manually flipping an arrow or other tweaks.</li>
</ul>
<h2 id="options">Options</h2>
<p>The full list of options which can be passed to the <code>Tether</code> constructor and
<code>setOptions</code>:</p>
Expand Down
Binary file removed examples/chosen/chosen-sprite.png
Binary file not shown.
Binary file removed examples/chosen/chosen-sprite@2x.png
Binary file not shown.
Loading

0 comments on commit 76e5760

Please sign in to comment.