Skip to content

Instantly share code, notes, and snippets.

@MrJmpl3
Created September 6, 2019 11:13
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save MrJmpl3/915113fc8aec6159350bb11a69df1150 to your computer and use it in GitHub Desktop.
<template functional>
<v-navigation-drawer v-bind="data.attrs" v-on="listeners" :width="width" class="ct-navigation-drawer" app dark>
<template v-slot:img="attrs">
<v-img v-bind="attrs" gradient="to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, .8)" />
</template>
<slot />
</v-navigation-drawer>
</template>
<script>
export default {
name: 'CtNavigationDrawner',
props: {
width: {
type: [String, Number],
default: 260
}
}
};
</script>
<style lang="scss" scoped></style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment