Props

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

Attributes

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

Members list

Type members

Classlikes

object variant extends Prop[String]

The variant to use.

The variant to use.

Attributes

Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
variant.type

Inherited classlikes

object dyn extends Dynamic

Attributes

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

Value members

Concrete methods

def IconComponent: Prop[ElementType]

The icon that displays the arrow.

The icon that displays the arrow.

Attributes

def children: Prop[VdomNode]

The option elements to populate the select with. Can be some <option> elements.

The option elements to populate the select with. Can be some <option> elements.

Attributes

def classes: Prop[Object]

Override or extend the styles applied to the component.

Override or extend the styles applied to the component.

Attributes

def input: Prop[VdomElement]

An Input element; does not have to be a material-ui specific Input.

An Input element; does not have to be a material-ui specific Input.

Attributes

def inputProps: Prop[Object]

Attributes applied to the select element.

Attributes applied to the select element.

Attributes

def onChange: Prop[Any => Any]

Callback fired when a menu item is selected.

Callback fired when a menu item is selected.

Value parameters

{React.ChangeEvent<HTMLSelectElement>}

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

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def style: Prop[Object]
def sx: Prop[Seq[Any => Any | Object | Boolean] | Any => Any | Object]

The system prop that allows defining system overrides as well as additional CSS styles.

The system prop that allows defining system overrides as well as additional CSS styles.

Attributes

def value: Prop[Any]

The input value. The DOM API casts this to a string.

The input value. 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