Web Component 3
Use Of Polymer Core Selector Element
Polymer provides core-selector element for element selection. In this Demo, “We will learn the use of core selector element“. In the demo we have maintained a list of student detail in JSON. When user click on any student it is selected and color changes to RED/GREEN base on the mark.If the student score is more […]
Polymer Nested Custom Component Use
Polymer supports Nested Custom Components creation. In this Demo, “We will create two custom component where One component will call another insides its template“. The first component ts-names is the list of the names.The second component ts-red alters the colors of the text to red. publish property is necessary for inner component for a […]
Use of Polymer async Method
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 […]
Understanding Polymer Core Ajax Element
Polymer Library provided Core and Paper Elements inbuilt in the library. As We know Polymer is a kind of Polyfill for Web Components.To help the developers with custom elements these core and paper elements are added . In this Demo, “We will Explore the Core Ajax polymer element“. You can get more info and download […]