ReactiveSvgElement

com.raquo.laminar.nodes.ReactiveSvgElement
See theReactiveSvgElement companion object
class ReactiveSvgElement[+Ref <: Element](val tag: SvgTag[Ref], val ref: Ref) extends ReactiveElement[Ref]

Attributes

Companion
object
Graph
Supertypes
trait ReactiveElement[Ref]
trait ParentNode[Ref]
trait ChildNode[Ref]
trait Modifier[ReactiveElement[Element]]
trait ReactiveNode[Ref]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def amend(mods: Modifier[ReactiveSvgElement[Ref]]*): ReactiveElement.this.type

Attributes

Inherited from:
ReactiveElement

Attributes

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

Attributes

Definition Classes
Inherited from:
ChildNode
def eventListeners: List[Base]

Attributes

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

Attributes

Inherited from:
ReactiveElement
def maybeParent: Option[Base]

Attributes

Inherited from:
ChildNode

Concrete fields

final override val ref: Ref

Reference to the real DOM node which this ReactiveNode represents. Laminar nodes MUST NOT share the same ref. This isn't "virtual dom"!

Reference to the real DOM node which this ReactiveNode represents. Laminar nodes MUST NOT share the same ref. This isn't "virtual dom"!

Attributes

override val tag: SvgTag[Ref]