LaminarComponent

works.iterative.ui.components.laminar.LaminarComponent
abstract class LaminarComponent[M, A, +E, +O](effectHandler: EffectHandler[E, A])(implicit evidence$1: HasEffectHook[O]) extends Module[M, A, E]

Hook the action -> effect cycle into a component.

Attributes

Graph
Supertypes
trait Module[M, A, E]
class Object
trait Matchable
class Any
Known subtypes
class Component

Members list

Value members

Abstract methods

def render(m: Signal[M], actions: Observer[A]): O

Inherited methods

def handleFailure: PartialFunction[Throwable, Option[A]]

Attributes

Inherited from:
Module

Inherited and Abstract methods

def handle(action: A, model: M): (M, Option[E])

Attributes

Inherited from:
Module
def init: (M, Option[E])

Attributes

Inherited from:
Module

Concrete fields

val actions: EventBus[A]

Event bus for this component's actions.

Event bus for this component's actions.

Attributes

val view: O