SkeletonElement

io.worxbend.tui.dsl.SkeletonElement
final case class SkeletonElement(elapsed: FiniteDuration, baseStyle: Style, bandStyle: Style, bandWidth: Option[Int], period: FiniteDuration, props: ElementProps) extends Element

A skeleton placeholder, 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

def band(cells: Int): SkeletonElement

Pins the sweeping band's width, so skeletons of different sizes pulse in step.

Pins the sweeping band's width, so skeletons of different sizes pulse in step.

Attributes

def period(duration: FiniteDuration): SkeletonElement

Sets how long one full sweep takes.

Sets how long one full sweep takes.

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