是否可以在<v-navigation-drawer>
内有一个固定的<v-toolbar-title>
?
<v-card class="d-inline-block elevation-12">
<v-navigation-drawer hide-overlay permanent stateless height="440" value="true">
<v-toolbar color="white" flat>
<v-toolbar-title>Name</v-toolbar-title>
我的目标是能够在抽屉内滚动,但工具栏保留在顶部,但inverted-scroll
和fixed
道具在浮动导航抽屉中不起作用。
代码笔:https://codepen.io/anon/pen/gdqjwX?editors=1000
您可以使用前置槽
<v-navigation-drawer>
<template v-slot:prepend>
your title
</template>
<template v-slot:append>
your footer
</template>
</v-navigation-drawer>