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:
parent
15d4807166
commit
d06551505b
@ -173,7 +173,7 @@ clipboard.on('error', function(e) {
|
|||||||
}
|
}
|
||||||
});</code></pre>
|
});</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');
|
<pre class="snippet"><code class="js">var clipboard = new Clipboard('.btn');
|
||||||
clipboard.destroy();</code></pre>
|
clipboard.destroy();</code></pre>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user