Categories
HTML Tutorials

Native Modals using HTML Dialog Element

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 […]

Categories
Tutorials Vue

Toolbar items placement in Vuetify 2.0

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 / […]

Categories
Java Script Tutorials

Shuffle an Array by extending built-in objects

Imagine if you transform your data like array for most of the time. Often times for loop with other variables are used to do the job. If it’s repeated than that code is extracted to its own function. Why not we extend the built in Array method and make it simple to use. Shuffle an […]

Categories
Java Script Tutorials

How I learned call() and apply() in JavaScript

In the past whenever I came across code snippets with the usage of call() and apply(). I would ignore them as they appeared to be on advanced level. It was scary for me, as any new thing is. Than I found this code snippet function add(){ console.log(arguments) //Arguments { 0: 1, 1: 2, 2: 3, […]

Categories
Ionic Link

How to effectively host Ionic PWA to Heroku

Ionic PWA can also be read as Ionic Progressive Web App.