Package

angulate2

ext

Permalink

package ext

Visibility
  1. Public
  2. All

Type Members

  1. macro class Data extends Annotation with StaticAnnotation

    Permalink

    Annotation for case classes to mark them as a pure JavaScript data object.

    Annotation for case classes to mark them as a pure JavaScript data object.

    Annotations
    @compileTimeOnly( ... ) @compileTimeOnly( ... )
    Example:
    1. @Data
      case class Foo(id: Int, var bar: String)

      is expanded to

      @js.native
      trait Foo extends js.Object {
        val id: Int = js.native
        var bar: String = js.native
      }
      object Foo {
        def apply(id: Int, bar: String): Foo =
          js.Dynamic.literal(id = id, bar = bar).asInstanceOf[Foo]
      }
  2. class classModeJS extends Annotation with StaticAnnotation

    Permalink

    Marks a class annotated with a macro annotation (@Component, @NgModule, etc.) to be translated into a native JS class (i.e.

    Marks a class annotated with a macro annotation (@Component, @NgModule, etc.) to be translated into a native JS class (i.e. a @ScalaJSDefined class).

  3. class classModeScala extends Annotation with StaticAnnotation

    Permalink

    Marks a class annotated with a macro annotation (@Component, @NgModule, etc.) to be translated into a normal Scala class.

  4. class debug extends Annotation with StaticAnnotation

    Permalink

    Enables debugging of an annotated angulate2 class during macro expansion and/or at runtime.

Value Members

  1. object ClassMode extends Enumeration

    Permalink
    Attributes
    protected[angulate2]
  2. object Data

    Permalink
  3. object debug

    Permalink
  4. package inMemoryWebApi

    Permalink

Ungrouped