diff --git a/index.html b/index.html index 9d9300c..7e72b54 100644 --- a/index.html +++ b/index.html @@ -51,11 +51,11 @@ allowtransparency="true" frameborder="0" scrolling="0" width="156" height="30"><

Setup

-

First, include the script located on the dist folder or load it from a third-party CDN provider.

+

First, include the script located on the dist folder or load it from a third-party CDN provider.

<script src="dist/clipboard.min.js"></script>
-

Now, you need to instantiate it using a DOM selector. This selector corresponds to the trigger element(s), for example <button class="btn">.

+

Now, you need to instantiate it by passing a DOM selector, HTML element, or list of HTML elements.

new Clipboard('.btn');