Packages

final class Context[F[_], S, M] extends Scope[F, S, S, M]

Provides DSLs and effects for application or component

Since

0.6.0

Linear Supertypes
Scope[F, S, S, M], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Context
  2. Scope
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Context()(implicit arg0: Effect[F], arg1: StateSerializer[S], arg2: StateDeserializer[S])

Type Members

  1. type Access = Context.Access[F, S, M]
    Definition Classes
    Scope
  2. type AccessType = S
  3. type Attr = levsha.Document.Attr[Binding]
    Definition Classes
    Scope
  4. type Binding = Context.Binding[F, S, M]
    Definition Classes
    Scope
  5. type Document = levsha.Document[Binding]
    Definition Classes
    Scope
  6. type ElementId = Context.ElementId[F]
    Definition Classes
    Scope
  7. type Event = Context.Event[F, S, M]
    Definition Classes
    Scope
  8. type EventFactory[T] = (T) => Event
    Definition Classes
    Scope
  9. type EventResult = F[Unit]
    Definition Classes
    Scope
  10. type Node = levsha.Document.Node[Binding]
    Definition Classes
    Scope
  11. type Render = PartialFunction[S, levsha.Document.Node[Binding]]
    Definition Classes
    Scope
  12. implicit final class ComponentDsl[CS, P, E] extends AnyRef
    Definition Classes
    Scope
  13. implicit class JsCodeHelper extends AnyRef
    Definition Classes
    Scope
  14. type Transition = (S) => S
    Definition Classes
    Scope
  15. type UnscopedAccess = Context.Access[F, S, M]
    Definition Classes
    Scope

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val accessScope: (Context.Access[F, S, M]) => Context.Access[F, S, M]
    Attributes
    protected
    Definition Classes
    ContextScope
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def delay(duration: FiniteDuration)(effect: (Access) => F[Unit]): Delay[F, S, M]

    Schedules the transition with delay.

    Schedules the transition with delay. For example it can be useful when you want to hide something after timeout.

    Definition Classes
    Scope
  8. def elementId(name: Option[String] = None): ElementId
    Definition Classes
    Scope
  9. val emptyTransition: PartialFunction[S, S]
    Definition Classes
    Scope
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def event(name: String, stopPropagation: Boolean = false, phase: EventPhase = EventPhase.Bubbling)(effect: (Access) => F[Unit]): Event
    Definition Classes
    Scope
  13. def eventUnscoped(name: String, stopPropagation: Boolean = false, phase: EventPhase = EventPhase.Bubbling)(effect: (UnscopedAccess) => F[Unit]): Event
    Definition Classes
    Scope
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def scope[S2](read: PartialFunction[S, S2], write: PartialFunction[(S, S2), S]): Scope[F, S, S2, M]
    Definition Classes
    Scope
  21. val symbolDsl: KorolevTemplateDsl[F, S, M]
    Definition Classes
    Scope
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Scope[F, S, S, M]

Inherited from AnyRef

Inherited from Any

Ungrouped