add test.
This commit is contained in:
19
test/dashboard2/src/partials/CustomToolbar.vue
Normal file
19
test/dashboard2/src/partials/CustomToolbar.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<v-ons-toolbar>
|
||||
<div class="left">
|
||||
<slot name="left">
|
||||
<v-ons-back-button v-if="backLabel">
|
||||
{{ backLabel }}
|
||||
</v-ons-back-button>
|
||||
</slot>
|
||||
</div>
|
||||
<div class="center"><slot>{{ title }}</slot></div>
|
||||
<div class="right"><slot name="right"></slot></div>
|
||||
</v-ons-toolbar>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ['title', 'backLabel']
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user