be.doeraene.webcomponents.ui5.configkeys.LinkTarget.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 LinkTarget {
def value: String
}
object LinkTarget extends EnumerationString[LinkTarget] {
case object _self extends LinkTarget {
override def value: String = "_self"
}
case object _blank extends LinkTarget {
override def value: String = "_blank"
}
case object _parent extends LinkTarget {
override def value: String = "_parent"
}
case object _top extends LinkTarget {
override def value: String = "_top"
}
case object _search extends LinkTarget {
override def value: String = "_search"
}
val allValues: List[LinkTarget] = List(_self, _blank, _parent, _top, _search)
def valueOf(value: LinkTarget): String = value.value
}