com.vaadin.flow.dom.
Interface ChildElementConsumer
All Superinterfaces:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback which allows to handle request to map a client side DOM element to
the server Element
instance.
Since:
1.0
Author:
Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This callback method is called when the request initiated by the
Node.appendChild(Element...)
method is successfully executed.default void
This callback method is called when the requested client element cannot be found in the provided
parent
by thetag
name after thepreviousSibling
.
-
Method Details
-
accept
This callback method is called when the request initiated by the
Node.appendChild(Element...)
method is successfully executed.The parameter value is the element created by the request.
-
onError
This callback method is called when the requested client element cannot be found in the provided
parent
by thetag
name after thepreviousSibling
.Parameters:
parent
- the server side parent node, notnull
tag
- the tag name of the requested element, notnull
previousSibling
- the previous sibling element for the requested element, may benull
-