Class UIInternals.JavaScriptInvocation
java.lang.Object
com.vaadin.flow.component.internal.UIInternals.JavaScriptInvocation
- All Implemented Interfaces:
Serializable
- Enclosing class:
UIInternals
A
Page.executeJs(String, Object...) invocation that has not yet
been sent to the client.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJavaScriptInvocation(String expression, Object... parameters) Creates a new invocation. -
Method Summary
Modifier and TypeMethodDescriptionGets the JavaScript expression to invoke.Gets the parameters to use when invoking the script.
-
Constructor Details
-
JavaScriptInvocation
Creates a new invocation.- Parameters:
expression- the expression to invokeparameters- a list of parameters to use when invoking the script
-
-
Method Details
-
getExpression
Gets the JavaScript expression to invoke.- Returns:
- the JavaScript expression
-
getParameters
Gets the parameters to use when invoking the script.- Returns:
- a list of parameters to use
-