scala.scalajs.js

annotation

package annotation

Visibility
  1. Public
  2. All

Type Members

  1. class JSBracketAccess extends Annotation with StaticAnnotation

    Marks the annotated method as representing bracket access in JavaScript.

    Marks the annotated method as representing bracket access in JavaScript.

    See also

    Calling JavaScript from Scala.js

  2. class JSExport extends Annotation with StaticAnnotation

    Specifies that the given entity should be exported for use in raw JS.

    Specifies that the given entity should be exported for use in raw JS.

    See also

    Export Scala.js APIs to JavaScript

  3. class JSExportDescendentObjects extends Annotation with StaticAnnotation

    Specifies that all the objects extending the annotated class or trait should be exported for use in raw JS.

    Specifies that all the objects extending the annotated class or trait should be exported for use in raw JS. Note that objects exported this way are exported under their fully qualified name.

    See also

    Export Scala.js APIs to JavaScript

  4. class JSName extends Annotation with StaticAnnotation

    Specifies the JavaScript name of an entity.

    Specifies the JavaScript name of an entity.

    See also

    Calling JavaScript from Scala.js

  5. class RawJSType extends Annotation with StaticAnnotation

    Marks the annotated class, trait or object as a raw JavaScript type.

    Marks the annotated class, trait or object as a raw JavaScript type.

    This annotation is added automatically by the compiler to all classes, traits and objects inheriting directly or indirectly from scala.scalajs.js.Any. It marks the annotated entity as being a raw JavaScript type, i.e., one that represents type information for an entity defined in JavaScript code.

    Do not use this annotation yourself.

Ungrouped