mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
Adds docs on tooltips #423
This commit is contained in:
parent
ff4c7e16f0
commit
fbae254cee
@ -149,6 +149,12 @@ clipboard.on('error', function(e) {
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user