Props

io.github.nafg.scalajs.facades.mui.Tooltip.Props
class Props extends WithChildren[VdomElement]

Attributes

Graph
Supertypes
trait WithChildren[VdomElement]
trait PropTypes
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

object placement extends Prop[String]

Tooltip placement.

Tooltip placement.

Attributes

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

The component used for the popper.

The component used for the popper.

Attributes

def PopperProps: Prop[Object]

Props applied to the Popper element.

Props applied to the Popper 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. By default, the element is based on this Transition component.

Props applied to the transition element. By default, the element is based on this Transition component.

Attributes

def arrow: Prop[Boolean]

If true, adds an arrow to the tooltip.

If true, adds an arrow to the tooltip.

Attributes

def children: Prop[VdomElement]

Tooltip reference element.

Tooltip reference element.

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 components: Prop[Object]

The components used for each slot inside.

The components used for each slot inside.

This prop is an alias for the slots prop. It's recommended to use the slots prop instead.

Attributes

def componentsProps: Prop[Object]

The extra props for the slot components. You can override the existing props or add new ones.

The extra props for the slot components. You can override the existing props or add new ones.

This prop is an alias for the slotProps prop. It's recommended to use the slotProps prop instead, as componentsProps will be deprecated in the future.

Attributes

def describeChild: Prop[Boolean]

Set to true if the title acts as an accessible description. By default the title acts as an accessible label for the child.

Set to true if the title acts as an accessible description. By default the title acts as an accessible label for the child.

Attributes

def disableFocusListener: Prop[Boolean]

Do not respond to focus-visible events.

Do not respond to focus-visible events.

Attributes

def disableHoverListener: Prop[Boolean]

Do not respond to hover events.

Do not respond to hover events.

Attributes

def disableInteractive: Prop[Boolean]

Makes a tooltip not interactive, i.e. it will close when the user hovers over the tooltip before the leaveDelay is expired.

Makes a tooltip not interactive, i.e. it will close when the user hovers over the tooltip before the leaveDelay is expired.

Attributes

def disableTouchListener: Prop[Boolean]

Do not respond to long press touch events.

Do not respond to long press touch events.

Attributes

def enterDelay: Prop[Double]

The number of milliseconds to wait before showing the tooltip. This prop won't impact the enter touch delay (enterTouchDelay).

The number of milliseconds to wait before showing the tooltip. This prop won't impact the enter touch delay (enterTouchDelay).

Attributes

def enterNextDelay: Prop[Double]

The number of milliseconds to wait before showing the tooltip when one was already recently opened.

The number of milliseconds to wait before showing the tooltip when one was already recently opened.

Attributes

def enterTouchDelay: Prop[Double]

The number of milliseconds a user must touch the element before showing the tooltip.

The number of milliseconds a user must touch the element before showing the tooltip.

Attributes

def followCursor: Prop[Boolean]

If true, the tooltip follow the cursor over the wrapped element.

If true, the tooltip follow the cursor over the wrapped element.

Attributes

def id: Prop[String]

This prop is used to help implement the accessibility logic. If you don't provide this prop. It falls back to a randomly generated id.

This prop is used to help implement the accessibility logic. If you don't provide this prop. It falls back to a randomly generated id.

Attributes

def leaveDelay: Prop[Double]

The number of milliseconds to wait before hiding the tooltip. This prop won't impact the leave touch delay (leaveTouchDelay).

The number of milliseconds to wait before hiding the tooltip. This prop won't impact the leave touch delay (leaveTouchDelay).

Attributes

def leaveTouchDelay: Prop[Double]

The number of milliseconds after the user stops touching an element before hiding the tooltip.

The number of milliseconds after the user stops touching an element before hiding the tooltip.

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.

Value parameters

{React.SyntheticEvent}

event The event source of the callback.

Attributes

def onOpen: Prop[Any => Any]

Callback fired when the component requests to be open.

Callback fired when the component requests to be open.

Value parameters

{React.SyntheticEvent}

event The event source of the callback.

Attributes

def open: Prop[Boolean]

If true, the component is shown.

If true, the component is shown.

Attributes

def slotProps: Prop[Object]

The extra props for the slot components. You can override the existing props or add new ones.

The extra props for the slot components. You can override the existing props or add new ones.

This prop is an alias for the componentsProps prop, which will be deprecated in the future.

Attributes

def slots: Prop[Object]

The components used for each slot inside.

The components used for each slot inside.

This prop is an alias for the components prop, which will be deprecated in the future.

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 title: Prop[VdomNode]

Tooltip title. Zero-length titles string, undefined, null and false are never displayed.

Tooltip title. Zero-length titles string, undefined, null and false are never displayed.

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