IMELGRAT.ME

Resources for Developers

Category

Javascript

Articles on these pages contain include Javascript samples and tutorials that help developers to build dynamic and fluid web pages easier and faster.

JavaScript Functions and ES6. When and How

Share it!

Share it!ES6 is a major update to JavaScript that includes dozens of new features, along with some cool new features that make programming in JavaScript more flexible and streamlined. Before ES6, functions were defined using either a “function declaration” or… Continue Reading →


Share it!

X-Men and JavaScript. Mutation and Spaghetti

Share it!

Share it!Mutation means to be able to change an object’s form, behavior or nature. Something that’s mutable can be changed, while something that’s immutable cannot. In order to begin talking about mutation and why (in most cases) it’s not a… Continue Reading →


Share it!

Node.js Inside Out

Share it!

Share it!The first thing we need to know about Node.js is that it is Platform, not a Framework. It contains many components to develop, test and deploy Enterprise applications. It’s an open-source, cross-platform JavaScript runtime. The Node.js project began in… Continue Reading →


Share it!

Youtube IFrame API: Controlling videos using JavaScript

Share it!

Share it!The Youtube IFrame API allows you to embed a YouTube video player (using an IFrame to contain the video) on your website and control the player using their JavaScript API that works across IFrames. This way, you are no… Continue Reading →


Share it!

JavaScript event bubbling and capturing

Share it!

Share it!The concepts of JavaScript event bubbling and event capturing (also known as event trickling) were introduced to deal with situations where a single event, such as a mouse click, may be handled by two or more event handlers, each… Continue Reading →


Share it!

Accordions or Tabs? Why not both?

Share it!

Share it!Accordions and Tabs Accordions (Collapse components, in Bootstrap’s parlance) are widely used on the websites to manage a large amount of content or long navigation lists by splitting them in vertically-split blocks. Using the Bootstrap Collapse components you can… Continue Reading →


Share it!

Control HTML5 Audio and Video using a JavaScript API

Share it!

Share it!Not long ago, adding a video to a web page implied quite a lot of work (and a bit of luck) as videos were not supported by browsers. Instead of using  HTML or a native JavaScript API, developers had to… Continue Reading →


Share it!

Debouncing JavaScript events to prevent jerky action

Share it!

Share it!Problem: Jumpy execution during UI changes JavaScript has a few events (resize, scroll, touchmove, mousemove, etc), which keep firing during the whole duration of the action, not just once. That may serve some purpose sometimes but most of the… Continue Reading →


Share it!

© 2019 IMELGRAT.ME

Theme by Iván MelgratiTop ↑