Package com.vaadin.client.flow.dom
Class PolymerDomApiImpl
- java.lang.Object
-
- com.vaadin.client.flow.dom.PolymerDomApiImpl
-
- All Implemented Interfaces:
DomApiImpl
public class PolymerDomApiImpl extends Object implements DomApiImpl
Implementation ofDomApiImplthat uses the Polymer 's DOM API.Contains methods for checking whether polymer-micro.html has been loaded.
- Since:
- 1.0
- Author:
- Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor Description PolymerDomApiImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanisPolymerMicroLoaded()Checks whether the polymer-micro.html is loaded or not.DomElementwrap(elemental.dom.Node node)Wraps the given DOM node to make it safe to invoke any of the methods fromDomNodeorDomElement.
-
-
-
Method Detail
-
wrap
public DomElement wrap(elemental.dom.Node node)
Description copied from interface:DomApiImplWraps the given DOM node to make it safe to invoke any of the methods fromDomNodeorDomElement.- Specified by:
wrapin interfaceDomApiImpl- Parameters:
node- the node to wrap- Returns:
- the wrapped element
-
isPolymerMicroLoaded
public static boolean isPolymerMicroLoaded()
Checks whether the polymer-micro.html is loaded or not.- Returns:
trueif polymer micro has been loaded,falseif not
-
-