Package org.teavm.jso

Annotation Interface JSByRef


@Retention(RUNTIME) @Target({PARAMETER,METHOD}) public @interface JSByRef

Marks parameters of JavaScript methods that should be passed by reference. This annotation is only applicable to parameters of array type. More specifically: to: byte[], short[], char[], int[], float[], double[].

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
  • Element Details

    • optional

      boolean optional
      Default:
      false