Class UIInternals.JavaScriptInvocation

java.lang.Object
com.vaadin.flow.component.internal.UIInternals.JavaScriptInvocation
All Implemented Interfaces:
Serializable
Enclosing class:
UIInternals

public static class UIInternals.JavaScriptInvocation extends Object implements Serializable
A Page.executeJs(String, Serializable...) invocation that has not yet been sent to the client.
See Also:
  • Constructor Details

    • JavaScriptInvocation

      public JavaScriptInvocation(String expression, Serializable... parameters)
      Creates a new invocation.
      Parameters:
      expression - the expression to invoke
      parameters - a list of parameters to use when invoking the script
  • Method Details

    • getExpression

      public String getExpression()
      Gets the JavaScript expression to invoke.
      Returns:
      the JavaScript expression
    • getParameters

      public List<Object> getParameters()
      Gets the parameters to use when invoking the script.
      Returns:
      a list of parameters to use