LazyRxElement

wvlet.airframe.rx.html.LazyRxElement
case class LazyRxElement[A](v: () => A)(implicit evidence$1: EmbeddableNode[A]) extends RxElement, LogSupport

Attributes

Graph
Supertypes
trait Product
trait Equals
class RxElement
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
trait HtmlNode
trait HtmlNodeBase
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def render: RxElement

Render this element

Render this element

Attributes

Definition Classes

Inherited methods

def add(xs: HtmlNode*): RxElement

Attributes

Inherited from:
RxElement

Add child nodes (elements or attributes) to this element

Add child nodes (elements or attributes) to this element

Attributes

Inherited from:
RxElement
def apply(xs: HtmlNode*): RxElement

Add child elements or attributes to this element and return this element

Add child elements or attributes to this element and return this element

Attributes

Inherited from:
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

Inherited from:
RxElement
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 from:
RxElement
inline protected def debug(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
def onMount: Unit

Called right after mounting this RxElement to the document. Override this method to define a custom event hook after rendering.

Called right after mounting this RxElement to the document. Override this method to define a custom event hook after rendering.

Attributes

Inherited from:
RxElement
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def renderTo(nodeId: String): Unit

(Scala.js only) Render this element to the DOM node of the given ID. If the corresponding DOM node is not found, this method will create a new DOM node.

(Scala.js only) Render this element to the DOM node of the given ID. If the corresponding DOM node is not found, this method will create a new DOM node.

Attributes

Returns

A cancelable RxDOMNode

Inherited from:
HtmlNodeBase
inline protected def trace(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods

Deprecated and Inherited methods

def unless(cond: => Boolean): HtmlNode

Attributes

Deprecated
[Since version 23.7.0]
Inherited from:
HtmlNode
def when(cond: => Boolean): HtmlNode

Attributes

Deprecated
[Since version 23.7.0]
Inherited from:
HtmlNode

Inherited fields

val modifiers: List[Seq[HtmlNode]]

Attributes

Inherited from:
RxElement