Specifies that the annotated member should be exported as a JavaScript
static member of the companion class.
This annotation may only be used on members of a Scala object whose
companion class is a Scala.js-defined JavaScript class. The annotated
member will be available as a static member of the companion class.
Specifies that the annotated member should be exported as a JavaScript static member of the companion class.
This annotation may only be used on members of a Scala
object
whose companion class is a Scala.js-defined JavaScript class. The annotated member will be available as a static member of the companion class.Write JavaScript classes in Scala.js
Export Scala.js APIs to JavaScript