Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
c

HtmlAttrBinding

class HtmlAttrBinding(name: String, companionAttrs: Vector[Mod.Attr[Nothing]] = ...)

Defined by scalive.HtmlAttrBinding. View source (scalive/api/src/scalive/HtmlElement.scala:106-202)

Methods11

apply

def apply[A, Msg](current: Signal[A])(f: (A, Map[String, String]) => Msg): Mod.Attr[Msg]

Defined by scalive.HtmlAttrBinding.apply. View source (scalive/api/src/scalive/HtmlElement.scala:169-174)

def apply[Msg](command: JSCommands.JSCommand[Msg]): Mod.Attr[Msg]

Defined by scalive.HtmlAttrBinding.apply. View source (scalive/api/src/scalive/HtmlElement.scala:157-158)

def apply[Msg](command: Signal[JSCommands.JSCommand[Msg]]): Mod.Attr[Msg]

Defined by scalive.HtmlAttrBinding.apply. View source (scalive/api/src/scalive/HtmlElement.scala:160-162)

def apply[Msg](f: Map[String, String] => Msg): Mod.Attr[Msg]

Defined by scalive.HtmlAttrBinding.apply. View source (scalive/api/src/scalive/HtmlElement.scala:176-177)

def apply[Msg](message: Msg): Mod.Attr[Msg]

Defined by scalive.HtmlAttrBinding.apply. View source (scalive/api/src/scalive/HtmlElement.scala:164-164)

def apply[Msg](message: Signal[Msg]): Mod.Attr[Msg]

Defined by scalive.HtmlAttrBinding.apply. View source (scalive/api/src/scalive/HtmlElement.scala:166-167)

debounce

def debounce(duration: concurrent.duration.FiniteDuration): HtmlAttrBinding

Defined by scalive.HtmlAttrBinding.debounce. View source (scalive/api/src/scalive/HtmlElement.scala:123-124)

debounceOnBlur

def debounceOnBlur: HtmlAttrBinding

Defined by scalive.HtmlAttrBinding.debounceOnBlur. View source (scalive/api/src/scalive/HtmlElement.scala:126-126)

form

def form[A, Msg](codec: FormCodec[A])(f: FormEvent[A] => Msg): Mod.Attr[Msg]

Defined by scalive.HtmlAttrBinding.form. View source (scalive/api/src/scalive/HtmlElement.scala:182-183)

def form[Msg](f: FormData => Msg): Mod.Attr[Msg]

Defined by scalive.HtmlAttrBinding.form. View source (scalive/api/src/scalive/HtmlElement.scala:179-180)

throttle

def throttle(duration: concurrent.duration.FiniteDuration): HtmlAttrBinding

Defined by scalive.HtmlAttrBinding.throttle. View source (scalive/api/src/scalive/HtmlElement.scala:128-129)

to

def to[Msg](ref: ComponentRef[Msg])(message: Msg): Mod.Attr[Msg]

Defined by scalive.HtmlAttrBinding.to. View source (scalive/api/src/scalive/HtmlElement.scala:147-148)

def to[Props, Msg, Model, Output](instance: LiveComponentOutputInstance[Props, Msg, Model, Output])(message: Msg): Mod.Attr[Nothing]

Defined by scalive.HtmlAttrBinding.to. View source (scalive/api/src/scalive/HtmlElement.scala:138-145)

def to[Props, Msg, Model](instance: LiveComponentInstance[Props, Msg, Model])(message: Msg): Mod.Attr[Nothing]

Defined by scalive.HtmlAttrBinding.to. View source (scalive/api/src/scalive/HtmlElement.scala:131-136)

toComponent

def toComponent[Props, Msg, Model](component: LiveComponent[Props, Msg, Model])(message: Msg): Mod.Attr[Nothing]

Defined by scalive.HtmlAttrBinding.toComponent. View source (scalive/api/src/scalive/HtmlElement.scala:150-155)

withBoolValue

def withBoolValue[Msg](f: Boolean => Msg): Mod.Attr[Msg]

Defined by scalive.HtmlAttrBinding.withBoolValue. View source (scalive/api/src/scalive/HtmlElement.scala:200-201)

withBoolValueOption

def withBoolValueOption[Msg](f: Option[Boolean] => Msg): Mod.Attr[Msg]

Defined by scalive.HtmlAttrBinding.withBoolValueOption. View source (scalive/api/src/scalive/HtmlElement.scala:191-198)

withValue

def withValue[Msg](f: String => Msg): Mod.Attr[Msg]

Defined by scalive.HtmlAttrBinding.withValue. View source (scalive/api/src/scalive/HtmlElement.scala:188-189)

withValueOption

def withValueOption[Msg](f: Option[String] => Msg): Mod.Attr[Msg]

Defined by scalive.HtmlAttrBinding.withValueOption. View source (scalive/api/src/scalive/HtmlElement.scala:185-186)

Values1

name

val name: String

Defined by scalive.HtmlAttrBinding.name. View source (scalive/api/src/scalive/HtmlElement.scala:107-107)