Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
o

Mod

object Mod

Defined by scalive.Mod. View source (scalive/api/src/scalive/HtmlElement.scala:278-363)

Types1

Input

type Input = ([Msg] =>> |[Mod[Msg], IterableOnce[Mod[Msg]]])

A single modifier or one collection of modifiers accepted by HTML and component factories.

Defined by scalive.Mod.Input. View source (scalive/api/src/scalive/HtmlElement.scala:280-280)

Methods1

flatten

def flatten[Msg](inputs: IterableOnce[Mod.Input[Msg]]): Vector[Mod[Msg]]

Normalizes modifier inputs while preserving their encounter order.

Defined by scalive.Mod.flatten. View source (scalive/api/src/scalive/HtmlElement.scala:283-287)