ComponentDsl

kreuzberg.ComponentDsl
trait ComponentDsl extends ContextDsl

Attributes

Graph
Supertypes
trait ContextDsl
class Object
trait Matchable
class Any
Known subtypes
Self type

Members list

Value members

Concrete methods

protected def jsEvent(name: String, preventDefault: Boolean, capture: Boolean): JsEvent[ScalaJsEvent]

Declare a Javascript event.

Declare a Javascript event.

Attributes

protected def jsProperty[T](getter: <none> => T, setter: (<none>, T) => Unit): JsProperty[DomElement, T]

Declares a js runtime property.

Declares a js runtime property.

Attributes

protected def jsState[T](f: <none> => T): JsRuntimeState[DomElement, T]

Declares a js runtime state.

Declares a js runtime state.

Attributes

protected def windowEvent(name: String, preventDefault: Boolean, capture: Boolean): JsEvent[ScalaJsEvent]

Declare a Window JS Event.

Declare a Window JS Event.

Attributes

Inherited methods

protected def provide[T : ServiceNameProvider](implicit evidence$1: ServiceNameProvider[T], c: ServiceRepository): T

Retrieves something from a ServiceRepository (usually an AssemblerContext)

Retrieves something from a ServiceRepository (usually an AssemblerContext)

Attributes

Inherited from:
ContextDsl
protected def read[M](model: Subscribeable[M])(using c: AssemblerContext): M

Read the value of a model from an AssemblerContext

Read the value of a model from an AssemblerContext

Attributes

Inherited from:
ContextDsl

Implicits

Implicits

implicit protected def from[E](jsEvent: JsEvent[E]): Js[E]

Implicitly convert JS Events into event sources.

Implicitly convert JS Events into event sources.

Attributes

implicit protected def from[E](channel: Channel[E]): ChannelSource[E]

Implicitly convert Channels into event sources.

Implicitly convert Channels into event sources.

Attributes

implicit protected def htmlToAssemblyResult(in: Html): Assembly