Package com.vaadin.client.flow.dom
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.
A DOM API abstraction layer to be used via
DomApi.wrap(Node).- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptionwrap(elemental.dom.Node node) Wraps the given DOM node to make it safe to invoke any of the methods fromDomNodeorDomElement.
-
Method Details
-
wrap
Wraps the given DOM node to make it safe to invoke any of the methods fromDomNodeorDomElement.- Parameters:
node- the node to wrap- Returns:
- the wrapped element
-