RxElement

wvlet.airframe.rx.html.RxElement
See theRxElement companion object
abstract class RxElement(val modifiers: List[Seq[HtmlNode]]) extends HtmlNode

Attributes

Companion
object
Graph
Supertypes
trait HtmlNode
class Object
trait Matchable
class Any
Known subtypes
class HtmlElement
class LazyRxElement[A]
Self type

Members list

Value members

Abstract methods

Render this element

Render this element

Attributes

Concrete methods

def add(xs: HtmlNode*): RxElement
def apply(xs: HtmlNode*): RxElement
def beforeRender: Unit

Called right before rendering this RxElement begins.

Called right before rendering this RxElement begins.

Override this method to define a custom event hook before rendering.

Attributes

def beforeUnmount: Unit

Called right before unmounting (deleting) this RxElement from DOM.

Called right before unmounting (deleting) this RxElement from DOM.

This is a good place to remove any background process or manually added event listeners.

Attributes

Inherited methods

def unless(cond: => Boolean): HtmlNode

Attributes

Inherited from:
HtmlNode
def when(cond: => Boolean): HtmlNode

Attributes

Inherited from:
HtmlNode

Concrete fields

val modifiers: List[Seq[HtmlNode]]