Props

io.github.nafg.scalajs.facades.mui.SelectInput$.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

Classlikes

object variant extends Prop[String]

The variant to use.

The variant to use.

Attributes

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

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 IconComponent: Prop[ElementType]

The icon that displays the arrow.

The icon that displays the arrow.

Attributes

def SelectDisplayProps: Prop[Object]

Props applied to the clickable div element.

Props applied to the clickable div element.

Attributes

def autoWidth: Prop[Boolean]

If true, the width of the popover will automatically be set according to the items inside the menu, otherwise it will be at least the width of the select input.

If true, the width of the popover will automatically be set according to the items inside the menu, otherwise it will be at least the width of the select input.

Attributes

def children: Prop[VdomNode]

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

The option elements to populate the select with. Can be some <MenuItem> 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 defaultValue: Prop[Any]

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

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

Attributes

def disabled: Prop[Boolean]

If true, the select will be disabled.

If true, the select will be disabled.

Attributes

def displayEmpty: Prop[Boolean]

If true, the selected item is displayed even if its value is empty.

If true, the selected item is displayed even if its value is empty.

Attributes

def inputRef: Prop[Any]

Imperative handle implementing { value: T, node: HTMLElement, focus(): void } Equivalent to ref

Imperative handle implementing { value: T, node: HTMLElement, focus(): void } Equivalent to ref

Attributes

def labelId: Prop[String]

The ID of an element that acts as an additional label. The Select will be labelled by the additional label and the selected value.

The ID of an element that acts as an additional label. The Select will be labelled by the additional label and the selected value.

Attributes

def multiple: Prop[Boolean]

If true, value must be an array and the menu will support multiple selections.

If true, value must be an array and the menu will support multiple selections.

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 function fired when a menu item is selected.

Callback function fired when a menu item is selected.

Attributes

{object}

[child] The react element that was selected.

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def onClose: Prop[Any => Any]

Callback fired when the component requests to be closed. Use in controlled mode (see open).

Callback fired when the component requests to be closed. Use in controlled mode (see open).

Attributes

{object}

event The event source of the callback.

def onOpen: Prop[Any => Any]

Callback fired when the component requests to be opened. Use in controlled mode (see open).

Callback fired when the component requests to be opened. Use in controlled mode (see open).

Attributes

{object}

event The event source of the callback.

def open: Prop[Boolean]

Control select open state.

Control select open state.

Attributes

def renderValue: Prop[Any => Any]

Render the selected value.

Render the selected value.

Attributes

{any}

value The value provided to the component.

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