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

Concise view

Type members

Classlikes

object anchor extends Prop[String]

Side from which the drawer will appear.

Side from which the drawer will appear.

Attributes

Graph
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

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 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 contents of the drawer.

The contents of the drawer.

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

The elevation of the drawer.

The elevation of the drawer.

Attributes

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

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.

def open: Prop[Boolean]

If true, the drawer is open.

If true, the drawer 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

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