Badge
open class Badge(var content: String? = null, bsColor: BsColor = BsColor.SECONDARYBG, rounded: Boolean = false, position: BadgePosition? = null, init: Badge.() -> Unit = {})
Creates a badge for the parent component. One component can have multiple badges.
Author
André Harnisch
Parameters
content
element text
bs Color
color theming
rounded
more rounded style
position
relative position of the badge; parent component need to have class 'position-relative'
init
an initializer extension function