PopoverProps
Name | Type | Default | Description |
---|---|---|---|
anchor? |
|
Specifies the element which will be used as an anchor. The Popover opens next to that element. | |
animate? |
|
Controls the Popover animation. By default, the opening and closing animations are enabled. | |
appendTo? |
|
Defines the container to which the Popover will be appended. Defaults to
| |
callout? |
|
Controls the Popover callout element. If set to | |
className? |
|
Specifies a list of CSS classes that will be added to the Popover element. | |
collision? |
|
Configures the collision behavior of the Popover. By default, it's set to | |
contentStyle? |
|
Represents the styles that are applied to the content element of the Popover. | |
id? |
|
Specifies the id that will be added to the Popover element. | |
margin? |
|
Configures the margin value that will be added to the Popover dimensions in pixels and leaves a blank space between the Popover and the anchor. By default, it's automatically set based on the Popover position prop. | |
offset? |
|
Specifies the absolute position of the element.
The Popover opens next to that point. The pivot point of the Popover is defined by the | |
onClose? |
|
Fires after the Popover is closed. | |
onKeyDown? |
|
Fires when the Popover is focused and a key is pressed. | |
onOpen? |
|
Fires after the Popover is opened and the opening animation ends. | |
onPosition? |
|
Fires after the Popover position is set. | |
popoverClass? |
|
Specifies a list of CSS classes that will be added to the internal animated element. | |
position? |
|
Specifies the position of the Popover element relative to the current anchor or offset. | |
positionMode? |
|
Specifies the position mode of the component. By default, the Popover uses fixed positioning.
To make the Popover acquire absolute positioning, set this option to
| |
scale? |
|
Used to set the document scale when using a scale transform. The document or container scale is required to compute the popover position correctly. Detecting the scale is not reliable and must be set by providing a value for SCALE.
| |
show? |
|
Controls the Popover visibility. Defaults to | |
style? |
|
Represents the styles that are applied to the Popover. | |
title? |
|
Specifies the title of the Popover component. |