Annotation Type JsxConstructor


@Retention(RUNTIME) @Target({CONSTRUCTOR,METHOD}) public @interface JsxConstructor
An annotation to mark a Java method as JavaScript constructor.
  • Element Details

    • value

      The SupportedBrowsers supported by this constructor.
      Returns:
      the SupportedBrowsers
      Default:
      {CHROME, EDGE, FF, FF_ESR}
    • functionName

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