Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Tahnik Mustasin tahnik

🏠
Working from home
View GitHub Profile
@tahnik
tahnik / bottom_sheet.vue
Created Jun 1, 2019
Material Slidable Bottom Sheet
View bottom_sheet.vue
<template>
<!-- c here means custom -->
<div class="c-bottom-sheet">
<div
:class="`overlay ${value ? 'overlay-active' : ''}`"
@click="closeSheet()"
></div>
<div :class="`content ${contentActiveClass} ${uid}`" id="bottom-sheet">
<slot></slot>
</div>
You can’t perform that action at this time.