public class DomApi extends Object
This class delegates the operations to the actual DOM API implementations, which might be changed on the run, meaning after dependencies have been loaded.
| Modifier and Type | Method and Description |
|---|---|
static void |
updateApiImplementation()
Updates the DOM API implementation used.
|
static 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. |
public static DomElement wrap(elemental.dom.Node node)
DomNode or DomElement.node - the node to wrappublic static void updateApiImplementation()
Copyright © 2000–2018 Vaadin Ltd. All rights reserved.