Props

io.github.nafg.scalajs.facades.mui.Collapse$.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 timeout extends Prop[String | 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.

Set to 'auto' to automatically calculate transition time based on height.

Attributes

Graph
Supertypes
class Prop[String | Double | Object]
class Object
trait Matchable
class Any
Self type
timeout.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 children: Prop[VdomNode]

The content node to be collapsed.

The content node to be collapsed.

Attributes

def classes: Prop[Any]

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

The height of the container when collapsed.

The height of the container when collapsed.

Attributes

def component: Prop[ElementType]

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

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

Attributes

def disableStrictModeCompat: Prop[Boolean]

Enable this prop if you encounter 'Function components cannot be given refs', use unstable_createStrictModeTheme, and can't forward the ref in the passed Component.

Enable this prop if you encounter 'Function components cannot be given refs', use unstable_createStrictModeTheme, and can't forward the ref in the passed Component.

Attributes

def in: Prop[Boolean]

If true, the component will transition in.

If true, the component will transition in.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def style: Prop[Object]

Deprecated methods

def collapsedHeight: Prop[Any]

The height of the container when collapsed.

The height of the container when collapsed.

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