Polymer WebComponent library provides
async() method to handle asynchronous behavior .It is similar to
Window.setTimeout() method with
current context(this) attached to it.In this
Demo,"
We will see the use of async() method to build a clock".Below code has the definition for our ts-clock component in index.html.<!doctype html>
<html>
<head>
<title>Polymer Async Method Demo: Custom Clock</title>
<script src="
http://www.tutorialsavvy.com/2014/07/... <script...
Published on July 11, 2014 14:08