…vanced and useful. For example, let’s open a new window when a user presses Ctrl+N. First, add this require to the top of the script: var gui = require('nw.gui'); The nw.gui module is a node-webkit’s library related to the user interface (you can read more about this on Node-webkit’s Github).…
…vantage of future specifications without tying ourselves to experimental features in browsers.The Most Basic Ember ComponentNow with our knowledge of Web Components, lets implement the very basic my-name component from above, but in Ember. Let’s begin by downloading the Ember Starter Kit from the Ember website. At the time of…
…vanced algorithm to make sure that the images are never cropped infinite scrolling ready for any screen resolution, and device remove, add, randomise, sort and filter images makes use of existing lightboxes like swipebox, and colorbox optional captions Here is a demo using Justified Gallery. See the Pen Using Justified…
…vanced algorithm to make sure that the images are never cropped infinite scrolling ready for any screen resolution and device remove, add, randomise, sort, and filter images makes use of existing lightboxes like swipebox and colorbox optional captions Here is a demo using Justified Gallery. See the Pen Using Justified…
…vantage of the white-space property. <!DOCTYPE HTML> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> <style> h1 { white-space: pre; } </style> </head> <body> <h1> V E R T I C A L </h1> </body> </html> By setting white-space to pre, that instructs the text to behave as if it was within…
…vantage of bundlers is they often also act as build tools, performing tools like minification. 3. Use For Instead of Each Native functions are always faster than any helper counterparts. Whenever you're looping through an object received as JSON, you'd better rewrite your JSON and make it return an array…
…vanced you need the CMS to be, what language it's built in, and who is going to be using it, it can be a nightmare trying to find the "perfect" CMS for a project. However, some CMSs have a slight edge over the rest of the competition because of the…
…vant to web application development. There are many situations when a web application may need certain tasks to run periodically. Today we are going to explore the fundamentals of cron jobs. Definitions First, let's familiarize ourselves with the terms related to this subject. "Cron" is a time-based job scheduler in…
…vantage of this HTML web page template and add a brief description. Backtrack to the h5 tags under the Media Item comments of the sample HTML code for website design. On the first line, let’s leave the name of this project. In the second line, let’s add a related service…
…vantages. You can put expressions inside them or create multi-line strings. let person = 'Monty'; let fruits = 'apples'; let activity = 'playing games'; let day = 'Monday'; var sentence = person + ' will be eating ' + fruits + ' and ' + activity + ' on '…