Props

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

Side from which the drawer will appear.

Side from which the drawer will appear.

Attributes

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

Props applied to the Modal element.

Props applied to the Modal element.

Attributes

def PaperProps: Prop[Object]

Props applied to the Paper element.

Props applied to the Paper element.

Attributes

def SlideProps: Prop[Object]

Props applied to the Slide element.

Props applied to the Slide element.

Attributes

def children: Prop[VdomNode]

The content of the component.

The content of the component.

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

The elevation of the drawer.

The elevation of the drawer.

Attributes

def hideBackdrop: Prop[Boolean]

If true, the backdrop is not rendered.

If true, the backdrop is not rendered.

Attributes

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

Callback fired when the component requests to be closed. The reason parameter can optionally be used to control the response to onClose.

Callback fired when the component requests to be closed. The reason parameter can optionally be used to control the response to onClose.

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

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