org.apidesign.bck2brwsr.core

## Annotation Type ExtraJavaScript

-     @Retention(value=CLASS)
       @Target(value=TYPE)
      public @interface ExtraJavaScript

  A way to include pre-made JavaScript scripts and libraries. The `resource()` is loaded into the JavaScript VM and its object can be referenced from the class annotated by this annotation.
  Author:
    Jaroslav Tulach

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `resource` fully qualified location of a script to load.

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `boolean` | `processByteCode` should the class file still be processed or not?

- - ### Element Detail

    - #### resource

          public abstract String resource

      fully qualified location of a script to load. Start the path with slash.

  - - #### processByteCode

          public abstract boolean processByteCode

      should the class file still be processed or not?
      Default:
        true

Copyright © 2025 API Design. All Rights Reserved.