ReactiveElement

trait ReactiveElement[+Ref <: Element] extends ChildNode[Ref] with ParentNode[Ref] with Element
Companion:
object
trait Element
trait Node
trait ParentNode[Ref]
trait ChildNode[Ref]
trait Modifier[Base]
trait ReactiveNode[Ref]
class Object
trait Matchable
class Any

Value members

Concrete methods

def amend(mods: Modifier[ReactiveElement[Ref]]*): ReactiveElement.this.type
def amendThis(makeMod: ReactiveElement[Ref] => Modifier[ReactiveElement[Ref]]): ReactiveElement.this.type
def eventListeners: List[Any]
def events[Ev <: Event, Out](prop: EventProcessor[Ev, Out]): EventStream[Out]

Create and get a stream of events on this node

Create and get a stream of events on this node

Inherited methods

override def apply(parentNode: Base): Unit

You can count on this method being a no-op in your libraries and end user code.

You can count on this method being a no-op in your libraries and end user code.

The reason this method is not abstract is to avoid broken SAM sugar in case of meta modifiers. See https://github.com/raquo/scala-dom-types/issues/27

Definition Classes
ChildNode -> Modifier
Inherited from:
ChildNode
def maybeParent: Option[Base]
Inherited from:
ChildNode

Deprecated and Inherited methods

def maybeChildren: Option[List[Base]]
Deprecated
Inherited from:
ParentNode

Inherited fields

val ref: Ref

Reference to the real DOM node which this ReactiveNode represents.

Reference to the real DOM node which this ReactiveNode represents.

Inherited from:
ReactiveNode
val tag: Tag[Any]
Inherited from:
Element