Input

org.terminal21.client.components.chakra.Input
case class Input(key: String, `type`: String, placeholder: String, size: String, variant: Option[String], value: String, style: Map[String, Any]) extends ChakraElement[Input], HasEventHandler, CanHandleOnChangeEvent[Input]

Attributes

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

Members list

Value members

Concrete methods

Attributes

Definition Classes
def withKey(v: String): Input
def withPlaceholder(v: String): Input
def withSize(v: String): Input
override def withStyle(v: Map[String, Any]): Input

Attributes

Definition Classes
def withType(v: String): Input
def withValue(v: String): Input
def withVariant(v: Option[String]): Input

Inherited methods

def current(using session: ConnectedSession): A

Attributes

Inherited from:
Current
def flat: Seq[UiElement]

Attributes

Inherited from:
UiElement
def onChange(h: OnChangeEventHandler)(using session: ConnectedSession): A

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