You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.internal.

Class UIInternals.JavaScriptInvocation

  • java.lang.Object
    • com.vaadin.flow.component.internal.UIInternals.JavaScriptInvocation
    • Constructor Detail

      • 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 Detail

      • 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