diff --git a/index.html b/index.html index fe4d056..4cb8a94 100644 --- a/index.html +++ b/index.html @@ -149,6 +149,12 @@ clipboard.on('error', function(e) {

For a live demonstration, just open your console :)

+

Tooltips

+ +

Each application has different design needs, that's why clipboard.js does not include any CSS or built-in tooltip solution.

+ +

The tooltips you see on this demo site were built using GitHub's Primer. You may want to check that out if you're looking for a similar look and feel.

+

Advanced Usage

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.