Props
Attributes
- Graph
-
- Supertypes
-
trait WithChildren[VdomNode | Any => Any]trait PropTypesclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
An HTML element, virtualElement, 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.
An HTML element, virtualElement, 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
Popper render function or node.
Popper render function or node.
Attributes
An HTML element or function that returns one. The container
will have the portal children appended to it.
An HTML element or function that returns one. The container
will have the portal children appended to it.
You can also provide a callback, which is called in a React layout effect. This lets you set the container from a ref, and also makes server-side rendering possible.
By default, it uses the body of the top-level document object, so it's simply document.body
most of the time.
Attributes
The children
will be under the DOM hierarchy of the parent component.
The children
will be under the DOM hierarchy of the parent component.
Attributes
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
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
If true
, the component is shown.
If true
, the component is shown.
Attributes
Options provided to the Popper.js
instance.
A ref that points to the used popper instance.
A ref that points to the used popper instance.
Attributes
The props used for each slot inside the Popper.
The props used for each slot inside the Popper.
Attributes
The components used for each slot inside the Popper. Either a string to use a HTML element or a component.
The components used for each slot inside the Popper. Either a string to use a HTML element or a component.
Attributes
Help supporting a react-transition-group/Transition component.
Help supporting a react-transition-group/Transition component.
Attributes
Inherited methods
Attributes
- Inherited from:
- PropTypes
Inherited fields
Attributes
- Inherited from:
- PropTypes