Select Page

Yup: Validate if the values of two fields are same

Yup is a JavaScript object schema validator and object parser.  To check if the values of two...

What does Polymer.flush() do?

According to the documentation located here, it says that Polymer.flush() forces...

How To Detect HTTP Or HTTPS using JavaScript?

location.protocol can be used to detect the protocol that the current site is using. For...

Rotate elements using Javascript

We will be using the Propeller Javascript library to rotate elements. It supports inertia and...

Sprite sheet animation using CSS only

Using CSS steps() it is easy to control the number of keyframes rendered in an animation’s...

Getting started with Polymer 3.0

Polymer 3.0 preview is available to experiment with, until the full, production release of Polymer 3.x. So, let's get started. Install the latest Polymer CLI: npm install -g polymer-cli Install Yarn package manager: Follow the instruction from official Yarn package...

What are the changes in Polymer 3?

The biggest changes that had been announced at the 2017 Polymer Summit in Copenhagen are: Moving to npm from Bower Switching to using ES6 Modules instead of HTML Imports. Why NPM? Bower's flat dependency tree i.e. it doesn't support nested dependencies is one of the...

Hello world using Polymer

A simple program that will show "Hello World". Install Polymer CLI: npm install -g polymer-cli Create a new folder for your project: mkdir hello-world cd hello-world Initialize your project: polymer init Select the option polymer-2-application - A simple Polymer 2.0...