Package-level declarations

Types

Link copied to clipboard
open class Badge(var content: String? = null, bsColor: BsColor = BsColor.SECONDARYBG, rounded: Boolean = false, position: BadgePosition? = null, init: Badge.() -> Unit = {}) : Span

Creates a badge for the parent component. One component can have multiple badges.

Link copied to clipboard
class BadgePosition(positionClasses: String)

Helper class for positioning of badges.

Functions

Link copied to clipboard
fun Container.badge(content: String? = null, bsColor: BsColor = BsColor.SECONDARYBG, rounded: Boolean = false, position: BadgePosition? = null, init: Badge.() -> Unit = {}): Badge

DSL builder extension function.