Package com.vaadin.client.flow.dom
Class PolymerDomApiImpl
java.lang.Object
com.vaadin.client.flow.dom.PolymerDomApiImpl
- All Implemented Interfaces:
DomApiImpl
Implementation of
DomApiImpl that 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 -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks whether the polymer-micro.html is loaded or not.wrap(elemental.dom.Node node) Wraps the given DOM node to make it safe to invoke any of the methods fromDomNodeorDomElement.
-
Constructor Details
-
PolymerDomApiImpl
public PolymerDomApiImpl()
-
-
Method Details
-
wrap
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
-