Adds docs on tooltips #423

This commit is contained in:
Zeno Rocha 2017-06-30 16:28:42 -03:00
parent ff4c7e16f0
commit fbae254cee

View File

@ -149,6 +149,12 @@ clipboard.on('error', function(e) {
<p>For a live demonstration, just open your console :)</p> <p>For a live demonstration, just open your console :)</p>
<h1 id="tooltips">Tooltips</h1>
<p>Each application has different design needs, that's why clipboard.js does not include any CSS or built-in tooltip solution.</p>
<p>The tooltips you see on this demo site were built using <a href="http://primercss.io/tooltips/">GitHub's Primer</a>. You may want to check that out if you're looking for a similar look and feel.</p>
<h1 id="advanced-usage">Advanced Usage</h1> <h1 id="advanced-usage">Advanced Usage</h1>
<p>If you don't want to modify your HTML, there's a pretty handy imperative API for you to use. All you need to do is declare a function, do your thing, and return a value.</p> <p>If you don't want to modify your HTML, there's a pretty handy imperative API for you to use. All you need to do is declare a function, do your thing, and return a value.</p>