org.apidesign.bck2brwsr.core

## Annotation Type JavaScriptOnly

-     @Retention(value=CLASS)
       @Target(value=METHOD)
      public @interface JavaScriptOnly

  Don't include given method in the generated JavaScript at all. Rather generate completely independent JavaScript code consisting of `"`name()`" = "`value()`"`.
  Author:
    Jaroslav Tulach

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `name` name of the variable to assign given value to
    `String` | `value` value to assign to the `name()` variable

- - ### Element Detail

    - #### name

          public abstract String name

      name of the variable to assign given value to
      Default:
        ""

  - - #### value

          public abstract String value

      value to assign to the `name()` variable
      Default:
        ""

Copyright © 2025 API Design. All Rights Reserved.