Component

korolev.Component$
See theComponent companion class
object Component

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Types

type Render[F[_], S, P, E] = (Context[F, S, E], P, S) => Node[Binding[F, S, E]]

(context, state) => document

(context, state) => document

Attributes

Value members

Concrete methods

def apply[F[_] : Effect, S : StateDeserializer, P, E](initialState: S, id: String)(f: (F, S, P) => E): Component[F, S, P, E]

Create component in functional style

Create component in functional style

Attributes

f

Component renderer

See also:

Concrete fields

final val TopLevelComponentId: "top-level"