Annotation Type JsxFunction


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface JsxFunction
    An annotation to mark a Java method as JavaScript function.
    • Element Detail

      • value

        SupportedBrowser[] value
        The SupportedBrowsers supported by this function.
        Returns:
        the SupportedBrowsers
        Default:
        {org.htmlunit.javascript.configuration.SupportedBrowser.CHROME, org.htmlunit.javascript.configuration.SupportedBrowser.EDGE, org.htmlunit.javascript.configuration.SupportedBrowser.FF, org.htmlunit.javascript.configuration.SupportedBrowser.FF_ESR}
      • functionName

        java.lang.String functionName
        The JavaScript function property name.
        Returns:
        the function property name
        Default:
        ""