UI / UX
September 15, 2019
The window.getComputedStyle() method can be used to get current values of CSS properties of an element.
September 13, 2019
Finding Space Used / Space Remaining for Local Storage
The browser allots a specific amount of space to each website that is visited. This used space and the space remaining can be found with the StorageManager API.
September 7, 2019
Saving Data in Browser with WebStorage API
The Web Storage API helps web applications to store data in the user's browser. As compared to cookies a lot more data can be saved.
September 5, 2019
August 28, 2019
August 26, 2019
August 24, 2019
The destructuring operator helps to assign values to variables from an array or object in a shorter syntax. It can shorten the amount of code to write for simple assignment statements.
August 22, 2019
The Spread operator denoted by three dots provides a shorter syntax to merge objects Only enumerable properties of the object can be copied.
August 20, 2019
Array.reduce() and Array.reduceRight() are methods that can be used to process each element in array through a defined way, and get a single output combining all.
August 18, 2019
Formatting Text Input Content with Cleave.js
August 16, 2019
August 14, 2019
While dealing with mathematical calculations we need to make sure that the variable in question is actually a number. Any variable can be converted to a number using the global Number() method.
August 10, 2019
There are situations where an application needs to wait for the completion of multiple Promises and needs to know when they have all finished. In such cases Promise.all() or Promise.allSettled() methods can be used.
August 8, 2019
August 6, 2019
August 4, 2019
ES6 has introduced the includes() method which a better way of detecting substring in a given string.
August 1, 2019
July 28, 2019
July 25, 2019
July 23, 2019
© UsefulAngle.com 2016 - 2019. All code MIT license.
UsefulAngle on Twitter
UsefulAngle on Facebook