com.raquo.laminar.nodes.ReactiveComment.scala Maven / Gradle / Ivy
The newest version!
package com.raquo.laminar.nodes
import com.raquo.dombuilder.generic
import com.raquo.laminar.DomApi
import org.scalajs.dom
class ReactiveComment(val text: String)
extends ReactiveNode
with ReactiveChildNode[dom.Comment]
with generic.nodes.Comment[ReactiveNode, dom.Comment, dom.Node] {
final override val ref: dom.Comment = DomApi.commentApi.createNode(text)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy