Props

io.github.nafg.scalajs.facades.mui.NativeSelectInput.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 className: Prop[String]

The CSS class name of the select element.

The CSS class name of the select element.

Attributes

def classes: Prop[Object]

Override or extend the styles applied to the component. See CSS API below for more details.

Override or extend the styles applied to the component. See CSS API below for more details.

Attributes

def disabled: Prop[Boolean]

If true, the select is disabled.

If true, the select is disabled.

Attributes

def error: Prop[Boolean]

If true, the select input will indicate an error.

If true, the select input will indicate an error.

Attributes

def inputRef: Prop[Any]

Use that prop to pass a ref to the native select element.

Use that prop to pass a ref to the native select element.

Attributes

def name: Prop[String]

Name attribute of the select or hidden input element.

Name attribute of the select or hidden input 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

{object}

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 value: Prop[Any]

The input value.

The input value.

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