Annotation Type | Description |
---|---|
JsConstructor |
JsConstructor marks a constructor that will be translated into a JavaScript constructor function.
|
JsFunction |
JsFunction marks a functional interface as being the definition of a JavaScript function.
|
JsIgnore |
Marks a member to be ignored for JsInterop purposes.
|
JsMethod |
JsMethod marks a method that will be directly translated into a JavaScript method preserving
its name.
|
JsOptional |
JsOptional marks a parameter in a method as optional indicating that the argument can be omitted
from the function call when called from JavaScript side.
|
JsOverlay |
JsOverlay is used to enhance Java API of the native JsTypes and JsFunctions so richer and more
Java friendly abstractions could be provided.
|
JsPackage |
Provides a default namespace for all @JsType classes in a package by applying to
'package-info.java'.
|
JsProperty |
JsProperty marks a field or method that is translated directly into a JavaScript property
preserving its name.
|
JsType |
JsType is used to describe the JavaScript API of an object, either one that already exists from
the external JavaScript environment, or one that will be accessible from the external JavaScript
environment.
|