Package org.teavm.jso
Annotation Type JSMethod
Marks abstract member method as a JavaScript method. This is equivalent to the following:
@JSBody(params = ..., script = "return new this.methodName(...);")
where methodName
is method's name by default or a name, directly specified by
this annotation.
JSMethod can be avoided. This means that if you define abstract method on overlay class or interface, and don't specify any annotations, this method is treated as marked by JSMethod.
- Author:
- Alexey Andreev
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String value- Default:
- ""
-