be.doeraene.webcomponents.ui5.configkeys.ButtonDesign.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
sealed trait ButtonDesign {
def value: String = toString
}
object ButtonDesign extends EnumerationString[ButtonDesign] {
case object Default extends ButtonDesign
case object Emphasized extends ButtonDesign
case object Positive extends ButtonDesign
case object Negative extends ButtonDesign
case object Transparent extends ButtonDesign
case object Attention extends ButtonDesign
val allValues: List[ButtonDesign] = deriveAllValues
def valueOf(value: ButtonDesign): String = value.value
}