Annotation Type Import
Mark a function as an import from host environment/JavaScript.
-
Optional Element Summary
Optional Elements
-
Element Details
-
module
String moduleThe module/object name of the import. If not set then the simple class name is used.- Returns:
- the module name
- Default:
""
-
name
String nameThe function name in the scope of the module. If not set then the method name is used.- Returns:
- the name
- Default:
""
-
js
String jsThe JavaScript replacement. If empty then there must be a same naming object in JavaScript.- Returns:
- JavaScript replacement. This is the body of the function.
- Default:
""
-