When registering JavaScript Events we need to provide the handler. That handler is called when ever a specified event is clicked. function clickHandler() { alert(‘Window is clicked’) } window.addEventListener(‘click’, clickHandler()) The problem with above code is that, we will see the alert as soon as windows loads. The expected result is show alert whenever we […]
Category: Tutorials
Angular directive makes more sense when used in an example. The interesting example will make things fun to understand and follow. In our scenario we will handle the images that are failed to load. If you are more of a video person that I have also attached the video the end of the article Watch […]
In this article of Ionic design challenge we are looking at this expense app dribbble shot. We are going to convert the lower part of the design (as marked in the screenshot below) using ionic built in components. If you are more of a video person that I have also attached the video the end […]
Native Modals is all discussed next. I will go through the existing solutions and recreate a minimal modal with HTML dialog element. For the sake of brevity, lets keep the styling and interactions for next article. Dialog, popup, modal, alerts or popover you name it. All there job is to take user attention for what […]
Vuetify is Vue based progressive framework that supports SSR, SPA and PWA. You can read more about it here. How it looks when we have v-modal; with content of v-toolbar inside a v-dialog; let’s see them along with some cards In the header of title we have two action buttons. One before a X / […]
