be.doeraene.webcomponents.ui5.configkeys.EmbeddingAsIsCodec.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of web-components-ui5_sjs1_3 Show documentation
Show all versions of web-components-ui5_sjs1_3 Show documentation
Laminar bindings for the web-component library UI5 from SAP
The newest version!
package be.doeraene.webcomponents.ui5.configkeys
import com.raquo.laminar.codecs.Codec
object EmbeddingAsIsCodec {
def apply[T, U <: T]: Codec[U, T] = new Codec[U, T] {
def decode(domValue: T): U = domValue.asInstanceOf[U]
def encode(scalaValue: U): T = scalaValue
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy