(jSExportStatic: StringAdd).self
(jSExportStatic: StringFormat).self
(jSExportStatic: ArrowAssoc[JSExportStatic]).x
(Since version 2.10.0) Use leftOfArrow
instead
(jSExportStatic: Ensuring[JSExportStatic]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
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