JavaScript Event Capturing and Bubbling

In JavaScript, The event handling process: When an event happens – the most nested element where it happens gets labeled as the “target element” (event.target). Then the event first moves from the document root down to the event.target, calling handlers assigned with addEventListener(…., true) on the way (true is a shorthand for {capture: true}). Then the event moves from event.target up to …

What is AMD, CommonJS, and UMD?

Over the years there’s been a steadily increasing ecosystem of JavaScript components to choose from. The sheer amount of choices is fantastic, but this also infamously presents a difficulty when components are mixed-and-matched. And it doesn’t take too long for budding developers to find out that not all components are built to play nicely together. …

Popper.js – JavaScript positioning library

Popper.js is a library for positioning elements relative to other elements, like tooltip positioning or dock positioning. Famous libraries and frameworks are using Popper.js library to position tooltips and hover effects, including bootstrap. There are plenty of options and plugins to make Popper.js a powerful positioning library, including auto flipping, keeping target inside a certain …

Filepond.js – Elegant and Easy to use file uploader widget

Filepond is a JavaScript library that can upload anything you throw at it, optimizes images for faster uploads, and offers a great, accessible, silky smooth user experience. We can install filepond on any frontend frameworks or libraries including React, Vue, Angular or Vanilla js, using npm or direct CDN links. It has all frontend related features, including drag and …

Vis.js – data visualization made awesome

A dynamic, browser based visualization library. The library is designed to be easy to use, to handle large amounts of dynamic data, and to enable manipulation of and interaction with the data. The library consists of the components DataSet, Timeline, Network, Graph2d and Graph3d. Vis.js runs fine on Chrome, Firefox, Opera, Safari, IE9+, and most …

Parallax

Introduction to popular front end js libraries for better UI/UX

fullPage.js http://alvarotrigo.com/fullPagefullPage.js is a simple and easy to use library to create fullscreen scrolling websites (also known as single page websites or onepage sites). It allows the creation of fullscreen scrolling websites, as well as adding some landscape sliders inside the sections of the site. parallax.js http://matthew.wagerfield.com/parallaxparallax.js reacts to the orientation of your smart device, offsetting …