check
This commit is contained in:
parent
f69966c381
commit
87e00dbe01
|
@ -1,6 +1,7 @@
|
|||
Vue.component('Copybox',{
|
||||
template : `
|
||||
<div class="tabprixcontent">
|
||||
<div class="y2t-output">
|
||||
<button v-on:click="copyToClipboard">Copy</button>
|
||||
<slot></slot>
|
||||
</div>
|
||||
`,
|
||||
|
@ -17,8 +18,8 @@ Vue.component('Copybox',{
|
|||
}
|
||||
},
|
||||
methods : {
|
||||
capitalize(s){
|
||||
return s.charAt(0).toUpperCase() + s.slice(1)
|
||||
copyToClipboard(){
|
||||
|
||||
},
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue