mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
Fix typo #134
This commit is contained in:
@ -173,7 +173,7 @@ clipboard.on('error', function(e) {
|
||||
}
|
||||
});</code></pre>
|
||||
|
||||
<p>Also, with are working with single page apps, you may want to manage the lifecycle of the DOM more precisely. Here's how you clean up the events and objects that we create.</p>
|
||||
<p>Also, if you are working with single page apps, you may want to manage the lifecycle of the DOM more precisely. Here's how you clean up the events and objects that we create.</p>
|
||||
|
||||
<pre class="snippet"><code class="js">var clipboard = new Clipboard('.btn');
|
||||
clipboard.destroy();</code></pre>
|
||||
|
Reference in New Issue
Block a user