Skip to content

Instantly share code, notes, and snippets.

View noeleo25's full-sized avatar
🦄
Remote

Noemi Leon noeleo25

🦄
Remote
View GitHub Profile
@noeleo25
noeleo25 / Home.vue
Last active April 27, 2024 06:01
Custom directive: sticky header after scroll
<template>
<!-- using custom directive v-sticky -->
<div class="w-100" v-sticky:top="{minWidth: 768, offset: 'vh'}">
</template>
@noeleo25
noeleo25 / CustomButton.vue
Last active July 18, 2024 14:07
Vue component for Custom Button
<template>
<button
:type="btnType"
class="primary-btn">
<slot> </slot>
</button>
</template>
<script>
export default {