All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.laminext.syntax.DangerousSyntax.scala Maven / Gradle / Ivy

package io.laminext.syntax

import com.raquo.laminar.api.L._
import com.raquo.domtypes.generic.Modifier
import io.laminext.core.UnsafeAppendRawChildModifier
import io.laminext.core.UnsafeInnerHtmlReceiver

trait DangerousSyntax {

  @inline def unsafeAppendRawChild[El <: Element](
    child: org.scalajs.dom.raw.Node
  ): Modifier[El] = new UnsafeAppendRawChildModifier[El](child)

  val unsafeInnerHtml: UnsafeInnerHtmlReceiver.type = UnsafeInnerHtmlReceiver

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy