JAVA : Polymer JS Practical QA
1. What is Polymer ?
Ans:
Polymer is
an open
source JavaScript library, initially
released on May 27, 2015, used
to define and style web
components by
creating your own custom elements.
These custom components can be utilized for building complex Web
Applications.
This library is backed by Google and used by others like McDonald's, ING, GitHub, Ola Cabs, USA Today, YouTube
2. What are Web Components ?
Ans:
Web
Components are
a set of features in browsers that allow you to create reusable
and encapsulated custom HTML elements to
be used in your web applications.
3. Where Polymer built ?
Ans: Polymer is built on top of Web Components that makes it easy to build standalone and encapsulated web components.
4. What are the benefits that Polymer provides ?
Ans: These are a few benefits that Polymer provides you:
Create your own custom elements (for example:
<my-elements></my-elements>) which can work with any framework like Angular, React, etc.Polyfill allows your web components to be compatible with multiple browsers.
It supports gesture events which are a good advantage to develop Web and Mobile Applications.
It provides Polymer CLI to handle complex projects.
You can reuse custom elements created by others.
It provides encapsulation of appearance and behavior, using shadow-DOM.
5. What is Polyfill ?
Ans:
Polyfill is
a plugin that provides
those features to browsers that
are not available in the browser natively.
Note: McDonald's dashboard is made with Polymer elements.
For more QA please click on below link :
Url: https://www.amazon.com/dp/B08M5T5K9M

Comments
Post a Comment