Interface DomApiImpl

  • All Known Implementing Classes:
    PolymerDomApiImpl
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface DomApiImpl
    A DOM API abstraction layer to be used via DomApi.wrap(Node).
    Since:
    1.0
    Author:
    Vaadin Ltd
    • Method Detail

      • wrap

        DomElement wrap​(elemental.dom.Node node)
        Wraps the given DOM node to make it safe to invoke any of the methods from DomNode or DomElement.
        Parameters:
        node - the node to wrap
        Returns:
        the wrapped element