Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Web Components

You're reading from   Getting Started with Web Components Build modular and reusable components using HTML, CSS and JavaScript

Arrow left icon
Product type Paperback
Published in Aug 2019
Publisher Packt
ISBN-13 9781838649234
Length 158 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Prateek Jadhwani Prateek Jadhwani
Author Profile Icon Prateek Jadhwani
Prateek Jadhwani
Arrow right icon
View More author details
Toc

Polymer

Polymer is a library that lets you create custom elements in a really easy way. It comes with a set of features that can be used to create shadow DOM, add events, and use attributes and properties just like we have learned in previous chapters. 

You can find the Polymer project at the following URL: https://Polymer-library.Polymer-project.org/.

A major difference between the vanilla Web Components and Polymer is that Polymer comes with its own data system. That means you can make various computations and manipulations to the component based on this data. You can observe attribute and property changes, and you can even do two-way data binding, something that is missing from vanilla Web Components. The presence of these features helps with a lot of use cases, and helps with making the life of a developer easier. 

We will now take a look at how to use Polymer...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime