BadgeElement

io.worxbend.tui.dsl.BadgeElement
final case class BadgeElement(label: String, variant: BadgeVariant, badgeStyle: Style, props: ElementProps) extends Element

A short inline label, themed at construction.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Element
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

A coloured dot before plain text: carries the colour without the emphasis.

A coloured dot before plain text: carries the colour without the emphasis.

Attributes

Bracketed text with no block of colour behind it — for a badge sitting inside prose.

Bracketed text with no block of colour behind it — for a badge sitting inside prose.

Attributes

def widget: Widget

Inherited methods

def children: Seq[Element]

Attributes

Inherited from:
Element
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def style: Style

Attributes

Inherited from:
Element