html added to copybox template
This commit is contained in:
parent
5fb17f741c
commit
a793850b04
|
@ -1,8 +1,11 @@
|
||||||
Vue.component('copybox',{
|
Vue.component('copybox',{
|
||||||
template : `
|
template : `
|
||||||
<div class="y2t-output">
|
<div class="y2t-output">
|
||||||
<button v-on:click="copyToClipboard">Copy</button>
|
<div class="top">
|
||||||
|
<span></span><button v-on:click="copyToClipboard"><span class="byl-icon-copy">Copy to clipboard</span></button>
|
||||||
|
</div>
|
||||||
<p>{{ txt }}</p>
|
<p>{{ txt }}</p>
|
||||||
|
<div class="shader"></div>
|
||||||
</div>
|
</div>
|
||||||
`,
|
`,
|
||||||
props : {
|
props : {
|
||||||
|
|
Loading…
Reference in New Issue