Circle

org.terminal21.client.components.chakra.Circle
case class Circle(key: String, text: String, children: Seq[UiElement], bg: Option[String], w: Option[String], h: Option[String], color: Option[String], style: Map[String, Any]) extends ChakraElement[Circle], HasChildren[Circle]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Current[Circle]
trait HasStyle[Circle]
trait CEJson
trait UiElement
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def withBg(v: Option[String]): Circle
override def withChildren(cn: UiElement*): Circle

Attributes

Definition Classes
def withColor(v: Option[String]): Circle
def withH(v: Option[String]): Circle
def withKey(v: String): Circle
override def withStyle(v: Map[String, Any]): Circle

Attributes

Definition Classes
def withText(v: String): Circle
def withW(v: Option[String]): Circle

Inherited methods

def addChildren(cn: UiElement*): A

Attributes

Inherited from:
HasChildren
def current(using session: ConnectedSession): A

Attributes

Inherited from:
Current
override def flat: Seq[UiElement]

Attributes

Definition Classes
Inherited from:
HasChildren
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def render()(using session: ConnectedSession): Unit

Attributes

Inherited from:
UiElement
def renderChanges()(using session: ConnectedSession): Unit

Renders any changes for this element and it's children (if any). The element must previously have been added to the session.

Renders any changes for this element and it's children (if any). The element must previously have been added to the session.

Attributes

Inherited from:
UiElement
def withStyle(vs: (String, Any)*): A

Attributes

Inherited from:
HasStyle