Props

io.github.nafg.scalajs.facades.mui.OutlinedInput$.Props
class Props extends PropTypes

Attributes

Graph
Supertypes
trait PropTypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Classlikes

object color extends Prop[String]

The color of the component. It supports those theme colors that make sense for this component.

The color of the component. It supports those theme colors that make sense for this component.

Attributes

Graph
Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
color.type
object margin extends Prop[String]

If dense, will adjust vertical spacing. This is normally obtained via context from FormControl.

If dense, will adjust vertical spacing. This is normally obtained via context from FormControl.

Attributes

Graph
Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
margin.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 `type`: Prop[String]

Type of the input element. It should be a valid HTML5 input type.

Type of the input element. It should be a valid HTML5 input type.

Attributes

def autoComplete: Prop[String]

This prop helps users to fill forms faster, especially on mobile devices. The name can be confusing, as it's more like an autofill. You can learn more about it following the specification.

This prop helps users to fill forms faster, especially on mobile devices. The name can be confusing, as it's more like an autofill. You can learn more about it following the specification.

Attributes

def autoFocus: Prop[Boolean]

If true, the input element will be focused during the first mount.

If true, the input element will be focused during the first mount.

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 input element value. Use when the component is not controlled.

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

Attributes

def disabled: Prop[Boolean]

If true, the input element will be disabled.

If true, the input element will be disabled.

Attributes

def endAdornment: Prop[VdomNode]

End InputAdornment for this component.

End InputAdornment for this component.

Attributes

def error: Prop[Boolean]

If true, the input will indicate an error. This is normally obtained via context from FormControl.

If true, the input will indicate an error. This is normally obtained via context from FormControl.

Attributes

def fullWidth: Prop[Boolean]

If true, the input will take up the full width of its container.

If true, the input will take up the full width of its container.

Attributes

def id: Prop[String]

The id of the input element.

The id of the input element.

Attributes

def inputComponent: Prop[ElementType]

The component used for the input element. Either a string to use a HTML element or a component.

The component used for the input element. Either a string to use a HTML element or a component.

Attributes

def inputProps: Prop[Object]

Attributes applied to the input element.

Attributes applied to the input element.

Attributes

def inputRef: Prop[Any]

Pass a ref to the input element.

Pass a ref to the input element.

Attributes

def label: Prop[VdomNode]

The label of the input. It is only used for layout. The actual labelling is handled by InputLabel. If specified labelWidth is ignored.

The label of the input. It is only used for layout. The actual labelling is handled by InputLabel. If specified labelWidth is ignored.

Attributes

def labelWidth: Prop[Double]

The width of the label. Is ignored if label is provided. Prefer label if the input label appears with a strike through.

The width of the label. Is ignored if label is provided. Prefer label if the input label appears with a strike through.

Attributes

def maxRows: Prop[Double | String]

Maximum number of rows to display when multiline option is set to true.

Maximum number of rows to display when multiline option is set to true.

Attributes

def multiline: Prop[Boolean]

If true, a textarea element will be rendered.

If true, a textarea element will be rendered.

Attributes

def name: Prop[String]

Name attribute of the input element.

Name attribute of the input element.

Attributes

def notched: Prop[Boolean]

If true, the outline is notched to accommodate the label.

If true, the outline is notched to accommodate the label.

Attributes

def onChange: Prop[ReactEventFromInput => Callback]

Callback fired when the value is changed.

Callback fired when the value is changed.

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 placeholder: Prop[String]

The short hint displayed in the input before the user enters a value.

The short hint displayed in the input before the user enters a value.

Attributes

def readOnly: Prop[Boolean]

It prevents the user from changing the value of the field (not from interacting with the field).

It prevents the user from changing the value of the field (not from interacting with the field).

Attributes

def required: Prop[Boolean]

If true, the input element will be required.

If true, the input element will be required.

Attributes

def rows: Prop[Double | String]

Number of rows to display when multiline option is set to true.

Number of rows to display when multiline option is set to true.

Attributes

def startAdornment: Prop[VdomNode]

Start InputAdornment for this component.

Start InputAdornment for this component.

Attributes

def style: Prop[Object]
def value: Prop[Any]

The value of the input element, required for a controlled component.

The value of the input element, required for a controlled component.

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