Props

io.github.nafg.scalajs.facades.mui.Popper$.Props
class Props extends WithChildren[VdomNode | Any => Any]

Attributes

Graph
Supertypes
trait WithChildren[VdomNode | Any => Any]
trait PropTypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Classlikes

object placement extends Prop[String]

Popper placement.

Popper placement.

Attributes

Graph
Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self 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 anchorEl: Prop[Element | Object | Object => Element | Object]

A HTML element, referenceObject, or a function that returns either. It's used to set the position of the popper. The return value will passed as the reference object of the Popper instance.

A HTML element, referenceObject, or a function that returns either. It's used to set the position of the popper. The return value will passed as the reference object of the Popper instance.

Attributes

def children: Prop[VdomNode | Any => Any]

Popper render function or node.

Popper render function or node.

Attributes

def container: Prop[Any | Object | Any => Any]

A HTML element, component instance, or function that returns either. The container will have the portal children appended to it.

A HTML element, component instance, or function that returns either. The container will have the portal children appended to it.

By default, it uses the body of the top-level document object, so it's simply document.body most of the time.

Attributes

def disablePortal: Prop[Boolean]

Disable the portal behavior. The children stay within it's parent DOM hierarchy.

Disable the portal behavior. The children stay within it's parent DOM hierarchy.

Attributes

def keepMounted: Prop[Boolean]

Always keep the children in the DOM. This prop can be useful in SEO situation or when you want to maximize the responsiveness of the Popper.

Always keep the children in the DOM. This prop can be useful in SEO situation or when you want to maximize the responsiveness of the Popper.

Attributes

def modifiers: Prop[Object]

Popper.js is based on a "plugin-like" architecture, most of its features are fully encapsulated "modifiers".

Popper.js is based on a "plugin-like" architecture, most of its features are fully encapsulated "modifiers".

A modifier is a function that is called each time Popper.js needs to compute the position of the popper. For this reason, modifiers should be very performant to avoid bottlenecks. To learn how to create a modifier, read the modifiers documentation.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def open: Prop[Boolean]

If true, the popper is visible.

If true, the popper is visible.

Attributes

def popperOptions: Prop[Object]

Options provided to the popper.js instance.

Options provided to the popper.js instance.

Attributes

def popperRef: Prop[Any]

A ref that points to the used popper instance.

A ref that points to the used popper instance.

Attributes

def style: Prop[Object]
def transition: Prop[Boolean]

Help supporting a react-transition-group/Transition component.

Help supporting a react-transition-group/Transition component.

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