be.doeraene.webcomponents.ui5.HasIcon.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
import be.doeraene.webcomponents.ui5.configkeys.IconName
import com.raquo.laminar.codecs.StringAsIsCodec
import com.raquo.laminar.keys.HtmlAttr
import com.raquo.laminar.api.L.*
trait HasIcon {
lazy val icon: HtmlAttr[IconName] = htmlAttr("icon", IconName.AsStringCodec)
lazy val iconString: HtmlAttr[String] = htmlAttr("icon", StringAsIsCodec)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy