@Target(value=PARAMETER) @Inherited @Retention(value=RUNTIME) public @interface JsFunctionName
vani to use marked method parameter for calling js
function name. 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 the calling js function as second parameter:
@JsCallFunction("classpath:vani-jquery-call.js")
public String call(@GlobalReference String reference, @JsFunctionName String functionName,
@JsFunctionArguments Object... args);
JsFunctionArguments,
JsCallFunctionCopyright © 2016. All rights reserved.