Packages

package ext

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. macro class Data extends Annotation with StaticAnnotation

    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. macro class Routes extends Annotation with StaticAnnotation
    Annotations
    @compileTimeOnly( ... ) @compileTimeOnly( ... )
  3. class classModeJS extends Annotation with StaticAnnotation

    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).

  4. class classModeScala extends Annotation with StaticAnnotation

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

  5. class debug extends Annotation with StaticAnnotation

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

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.0.5) Use angulate2.std.debug or de.surfice.smacrotools.debug instead

Value Members

  1. object ClassMode extends Enumeration
    Attributes
    protected[angulate2]
  2. object Data
  3. object Routes
  4. object debug

Ungrouped