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

Concise view

Type members

Classlikes

object maxWidth extends Prop[Any]

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

Graph
Supertypes
class Prop[Any]
class Object
trait Matchable
class Any
Self type
object scroll extends Prop[String]

Determine the container for scrolling the dialog.

Determine the container for scrolling the dialog.

Attributes

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

Props applied to the Transition element.

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. 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 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 will be full-screen

If true, the dialog will be 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.

Attributes

{object}

event The event source of the callback.

{string}

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

def open: Prop[Boolean]

If true, the Dialog is open.

If true, the Dialog is open.

Attributes

def style: Prop[Object]
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 disableBackdropClick: Prop[Any]

If true, clicking the backdrop will not fire the onClose callback.

If true, clicking the backdrop will not fire the onClose callback.

Attributes

Deprecated
true
def onBackdropClick: Prop[Any]

Callback fired when the backdrop is clicked.

Callback fired when the backdrop is clicked.

Attributes

Deprecated
true
def onEnter: Prop[Any]

Callback fired before the dialog enters.

Callback fired before the dialog enters.

Attributes

Deprecated
true
def onEntered: Prop[Any]

Callback fired when the dialog has entered.

Callback fired when the dialog has entered.

Attributes

Deprecated
true
def onEntering: Prop[Any]

Callback fired when the dialog is entering.

Callback fired when the dialog is entering.

Attributes

Deprecated
true
def onEscapeKeyDown: Prop[Any]

Callback fired when the escape key is pressed, disableKeyboard is false and the modal is in focus.

Callback fired when the escape key is pressed, disableKeyboard is false and the modal is in focus.

Attributes

Deprecated
true
def onExit: Prop[Any]

Callback fired before the dialog exits.

Callback fired before the dialog exits.

Attributes

Deprecated
true
def onExited: Prop[Any]

Callback fired when the dialog has exited.

Callback fired when the dialog has exited.

Attributes

Deprecated
true
def onExiting: Prop[Any]

Callback fired when the dialog is exiting.

Callback fired when the dialog is exiting.

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