Props

io.github.nafg.scalajs.facades.mui.RadioGroup$.Props
class Props extends WithChildren[VdomNode]

Attributes

Graph
Supertypes
trait WithChildren[VdomNode]
trait PropTypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited classlikes

object dyn extends Dynamic

Attributes

Inherited from:
PropTypes
Graph
Supertypes
trait Dynamic
class Object
trait Matchable
class Any

Value members

Concrete methods

def children: Prop[VdomNode]

The content of the component.

The content of the component.

Attributes

def defaultValue: Prop[Seq[String] | Double | String]

The default input element value. Use when the component is not controlled.

The default input element value. Use when the component is not controlled.

Attributes

def name: Prop[String]

The name used to reference the value of the control. If you don't provide this prop, it falls back to a randomly generated name.

The name used to reference the value of the control. If you don't provide this prop, it falls back to a randomly generated name.

Attributes

def onChange: Prop[Any => Any]

Callback fired when a radio button is selected.

Callback fired when a radio button is selected.

Attributes

{object}

event The event source of the callback. You can pull out the new value by accessing event.target.value (string).

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def style: Prop[Object]
def value: Prop[Any]

Value of the selected radio button. The DOM API casts this to a string.

Value of the selected radio button. The DOM API casts this to a string.

Attributes

Inherited methods

def of[A : Writer](implicit evidence$1: Writer[A], name: Name): Prop[A]

Attributes

Inherited from:
PropTypes

Inherited fields

val key: Prop[Key]

Attributes

Inherited from:
PropTypes