use slots in refnav
This commit is contained in:
parent
3e404169ff
commit
0ffdf1aeab
|
@ -1,6 +1,8 @@
|
|||
Vue.component('rnav', {
|
||||
template: `
|
||||
<span class="rnav" v-on:click="toggle" v-bind:class="{ 'tagged': tag.isTrue}"></span>
|
||||
<span class="rnav" v-on:click="toggle" v-bind:class="{ 'tagged': tag.isTrue}">
|
||||
<slot></slot>
|
||||
</span>
|
||||
`,
|
||||
props : ['tag'],
|
||||
methods: {
|
||||
|
|
Loading…
Reference in New Issue