@Target(value=PARAMETER) @Inherited @Retention(value=RUNTIME) public @interface JsFunctionArguments
vani to use marked method parameter for the actual
arguments of calling js function. This is only relevant in conjunction with
custom call functions.
The following example, shows its usage. If vani calls the
corresponding custom call function, it will provide an array, containing all
actual arguments of calling js function, as third parameter:
@JsCallFunction("classpath:vani-jquery-call.js")
public String call(@GlobalReference String reference, @JsFunctionName String functionName,
@JsFunctionArguments Object... args);
JsFunctionName,
JsCallFunctionCopyright © 2016. All rights reserved.