Badge

constructor(content: String? = null, bsColor: BsColor = BsColor.SECONDARYBG, rounded: Boolean = false, position: BadgePosition? = null, init: Badge.() -> Unit = {})(source)

Parameters

content

element text

bsColor

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