final class Context[F[_], S, M] extends AnyRef
Provides DSLs and effects for application or component
- Since
0.6.0
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Context
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Context()(implicit arg0: Async[F], arg1: StateSerializer[S], arg2: StateDeserializer[S])
Type Members
- type Access = Context.Access[F, S, M]
- implicit final class ComponentDsl[CS, P, E] extends AnyRef
- type Effect = Context.Effect[F, S, M]
- type ElementId = Context.ElementId[F, S, M]
- type Event = Context.Event[F, S, M]
- type EventFactory[T] = (T) ⇒ Event
- type EventResult = F[Unit]
- type Render = PartialFunction[S, Node[Effect]]
- type Transition = (S) ⇒ S
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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.
- def elementId(name: Option[String] = None): ElementId
- val emptyTransition: PartialFunction[S, S]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def event(name: Symbol, phase: EventPhase = Bubbling)(effect: (Access) ⇒ F[Unit]): Event
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val symbolDsl: KorolevTemplateDsl[F, S, M]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
Deprecated Value Members
-
lazy val
legacy: ApplicationContext[F, S, M]
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.0) This is compatibility layer for old fashioned API. Use Context instead.