Props

io.github.nafg.scalajs.facades.mui.Dialog.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 maxWidth extends Prop[Any | String]

Determine the max-width of the dialog. The dialog width grows with the size of the screen. Set to false to disable maxWidth.

Determine the max-width of the dialog. The dialog width grows with the size of the screen. Set to false to disable maxWidth.

Attributes

Supertypes
class Prop[Any | String]
class Object
trait Matchable
class Any
Self type
maxWidth.type
object scroll extends Prop[String]

Determine the container for scrolling the dialog.

Determine the container for scrolling the dialog.

Attributes

Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
scroll.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 BackdropComponent: Prop[ElementType]

A backdrop component. This prop enables custom backdrop rendering.

A backdrop component. This prop enables custom backdrop rendering.

Attributes

def PaperComponent: Prop[ElementType]

The component used to render the body of the dialog.

The component used to render the body of the dialog.

Attributes

def PaperProps: Prop[Object]

Props applied to the Paper element.

Props applied to the Paper element.

Attributes

def TransitionComponent: Prop[ElementType]

The component used for the transition. Follow this guide to learn more about the requirements for this component.

The component used for the transition. Follow this guide to learn more about the requirements for this component.

Attributes

def TransitionProps: Prop[Object]

Props applied to the transition element. By default, the element is based on this Transition component.

Props applied to the transition element. By default, the element is based on this Transition component.

Attributes

def aria-describedby: Prop[String]

The id(s) of the element(s) that describe the dialog.

The id(s) of the element(s) that describe the dialog.

Attributes

def aria-labelledby: Prop[String]

The id(s) of the element(s) that label the dialog.

The id(s) of the element(s) that label the dialog.

Attributes

def children: Prop[VdomNode]

Dialog children, usually the included sub-components.

Dialog children, usually the included sub-components.

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 disableEscapeKeyDown: Prop[Boolean]

If true, hitting escape will not fire the onClose callback.

If true, hitting escape will not fire the onClose callback.

Attributes

def fullScreen: Prop[Boolean]

If true, the dialog is full-screen.

If true, the dialog is full-screen.

Attributes

def fullWidth: Prop[Boolean]

If true, the dialog stretches to maxWidth.

If true, the dialog stretches to maxWidth.

Notice that the dialog width grow is limited by the default margin.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def onClose: Prop[(ReactEvent, String) => Callback]

Callback fired when the component requests to be closed.

Callback fired when the component requests to be closed.

Value parameters

{object}

event The event source of the callback.

{string}

reason Can be: "escapeKeyDown", "backdropClick".

Attributes

def open: Prop[Boolean]

If true, the component is shown.

If true, the component is shown.

Attributes

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 transitionDuration: Prop[Double | Object]

The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object.

The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object.

Attributes

Deprecated methods

def onBackdropClick: Prop[Any => Any]

Callback fired when the backdrop is clicked.

Callback fired when the backdrop is clicked.

Attributes

Deprecated
true

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