5 articles with tag 'component'
Lazy loading an image
Lazy loading your images greatly improves the performance of your web app. In this article i will show how easy it is to make it work in Vue.
How to emit an event to a child component in Vue.js
How to make a Vue component and its child components interact using events and props.
Wrapping Intersection Observer in a Vue component
A code snippet that shows how to use the Intersection Observer in a reusable Vue component.
Simple modal component with Vue.js
When building web applications, you need a modal at some point. A popup asking for confirmation before a critical action, a dialog showing validation errors or maybe a login form.
Building a mobile navigation drawer with Vue.js
Building a mobile navigation drawer with Vue props, events and some SCSS.