How to change the Input Font Size based on Text Length
Recently I had a great conversation with an outstanding User Experience designer about a few interactions on a project we were working on. One of … Read more
Recently I had a great conversation with an outstanding User Experience designer about a few interactions on a project we were working on. One of … Read more
Flexslider is one of the most used sliders, for good reason. This snippet helps lazy load your images. In order to create a perceived performance … Read more
At some point in time you need to get the current URL and do some logic based on it. JavaScript has handy API called window.location … Read more
If you need to scroll to a specific location on the page this little custom jQuery function can help you out. This snippet will help … Read more
Adding any kind of tracking to any project always seems to be an afterthought. Generally just before launching, a stakeholder puts their hand up and states that we need to track everything…. Usually resulting in lots of frustrating mutterings from all developers involved.
If you’re still writing JavaScript using ES5 (also known as ECMAScript 5) and desire to author in ES6 (ES2015) fear not. We’ll look over some logical ways to start using this new syntactical sugar in your own work starting immediately. We’ll discuss and examine approaches to integrate features such as let
and const
plus compare var
versus let
and finally understand when to use the spread operator.
One of the best ways to prevent page bloat is to treat everything as a resource that doesn’t need to be on the page until the user has to interact with it. The technique is called lazy-loading, and can be performed on almost any asset. It’s especially good for responsive websites, when the same content needs to be loaded across multiple devices, while still loading as quickly as possible. Let’s take a look at a few ways to make this possible.
Dennis Gaebel previously discussed preparing for ES6, but in this post he take things one step further and examines an actual project using the tools he discussed in that article. He explains the steps required in order to setup a barebones ES6 project with the help of our faithful tooling companion Gulp.
ECMAScript 6 is the upcoming version of the ECMAScript standard and expects ratification some time around June 2015.
ES6 is a significant update to JavaScript, and the first update to the language since 2009. Implementation of these features in JavaScript engines is well underway as we speak. Let’s dive in and see what ES6 is all about.
This article explores the creation of an interface component to apply React.js CSS transitions on initial render.