Props

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

This determines which anchor prop to refer to to set the position of the popover.

This determines which anchor prop to refer to to set the position of the popover.

Attributes

Graph
Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
object transitionDuration extends Prop[String | Double | Object]

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

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

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

A ref for imperative actions. It currently only supports updatePosition() action.

A ref for imperative actions. It currently only supports updatePosition() action.

Attributes

def anchorEl: Prop[Any]

A HTML element, or a function that returns it. It's used to set the position of the popover.

A HTML element, or a function that returns it. It's used to set the position of the popover.

Attributes

def anchorOrigin: Prop[Object]

This is the point on the anchor where the popover's anchorEl will attach to. This is not used when the anchorReference is 'anchorPosition'.

This is the point on the anchor where the popover's anchorEl will attach to. This is not used when the anchorReference is 'anchorPosition'.

Options: vertical: [top, center, bottom]; horizontal: [left, center, right].

Attributes

def anchorPosition: Prop[Object]

This is the position that may be used to set the position of the popover. The coordinates are relative to the application's client area.

This is the position that may be used to set the position of the popover. The coordinates are relative to the application's client area.

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. 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 container: Prop[Any | Object | Any => Any]

A HTML element, component instance, or function that returns either. The container will passed to the Modal component.

A HTML element, component instance, or function that returns either. The container will passed to the Modal component.

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

Attributes

def elevation: Prop[Double]

The elevation of the popover.

The elevation of the popover.

Attributes

def getContentAnchorEl: Prop[Any => Any]

This function is called in order to retrieve the content anchor element. It's the opposite of the anchorEl prop. The content anchor element should be an element inside the popover. It's used to correctly scroll and set the position of the popover. The positioning strategy tries to make the content anchor element just above the anchor element.

This function is called in order to retrieve the content anchor element. It's the opposite of the anchorEl prop. The content anchor element should be an element inside the popover. It's used to correctly scroll and set the position of the popover. The positioning strategy tries to make the content anchor element just above the anchor element.

Attributes

def marginThreshold: Prop[Double]

Specifies how close to the edge of the window the popover can appear.

Specifies how close to the edge of the window the popover can appear.

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

def open: Prop[Boolean]

If true, the popover is visible.

If true, the popover is visible.

Attributes

def style: Prop[Object]
def transformOrigin: Prop[Object]

This is the point on the popover which will attach to the anchor's origin.

This is the point on the popover which will attach to the anchor's origin.

Options: vertical: [top, center, bottom, x(px)]; horizontal: [left, center, right, x(px)].

Attributes

Deprecated methods

def onEnter: Prop[Any]

Callback fired before the component is entering.

Callback fired before the component is entering.

Attributes

Deprecated
true
def onEntered: Prop[Any]

Callback fired when the component has entered.

Callback fired when the component has entered.

Attributes

Deprecated
true
def onEntering: Prop[Any]

Callback fired when the component is entering.

Callback fired when the component is entering.

Attributes

Deprecated
true
def onExit: Prop[Any]

Callback fired before the component is exiting.

Callback fired before the component is exiting.

Attributes

Deprecated
true
def onExited: Prop[Any]

Callback fired when the component has exited.

Callback fired when the component has exited.

Attributes

Deprecated
true
def onExiting: Prop[Any]

Callback fired when the component is exiting.

Callback fired when the component 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