Class PolymerDomApiImpl

  • All Implemented Interfaces:
    DomApiImpl

    public class PolymerDomApiImpl
    extends Object
    implements 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 Detail

      • PolymerDomApiImpl

        public PolymerDomApiImpl()
    • Method Detail

      • wrap

        public DomElement wrap​(elemental.dom.Node node)
        Description copied from interface: DomApiImpl
        Wraps the given DOM node to make it safe to invoke any of the methods from DomNode or DomElement.
        Specified by:
        wrap in interface DomApiImpl
        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:
        true if polymer micro has been loaded, false if not