We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.dom.
Interface NodeVisitor
-
public interface NodeVisitor
Element API node visitor interface.
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface and Description static class
NodeVisitor.ElementType
The type of the element.
-
Method Summary
All Methods Modifier and Type Method and Description boolean
visit(NodeVisitor.ElementType type, Element element)
Visit the
element
using provided elementtype
.boolean
visit(ShadowRoot root)
Visit the shadow
root
.
-
-
-
Method Detail
-
visit
boolean visit(NodeVisitor.ElementType type, Element element)
Visit the
element
using provided elementtype
.Parameters:
type
- the element typeelement
- the element to visitReturns:
true
to visit descendants,false
to stop traversal
-
visit
boolean visit(ShadowRoot root)
Visit the shadow
root
.Parameters:
root
- the shadow root to visitReturns:
true
to visit descendants,false
to stop traversal
-
-