Checkbox

org.terminal21.client.components.chakra.Checkbox
case class Checkbox(key: String, text: String, defaultChecked: Boolean, isDisabled: Boolean, style: Map[String, Any], checkedV: Option[Boolean]) extends ChakraElement[Checkbox], HasEventHandler, CanHandleOnChangeEvent[Checkbox]

Attributes

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

Members list

Value members

Concrete methods

def checked: Boolean

Attributes

Definition Classes
def withDefaultChecked(v: Boolean): Checkbox
def withIsDisabled(v: Boolean): Checkbox
def withKey(v: String): Checkbox
override def withStyle(v: Map[String, Any]): Checkbox

Attributes

Definition Classes
def withText(v: String): Checkbox

Inherited methods

def current(using session: ConnectedSession): A

Attributes

Inherited from:
Current
def flat: Seq[UiElement]

Attributes

Inherited from:
UiElement

Attributes

Inherited from:
CanHandleOnChangeEvent
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