You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: pages/api/popover.md
+1
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ title: Popover API
26
26
| <spanclass="prop-name">elevation</span> | <spanclass="prop-type">number | <spanclass="prop-default">8</span> | The elevation of the popover. |
27
27
| <spanclass="prop-name">getContentAnchorEl</span> | <spanclass="prop-type">func || This function is called in order to retrieve the content anchor element. It's the opposite of the `anchorEl` property. 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. |
28
28
| <spanclass="prop-name">marginThreshold</span> | <spanclass="prop-type">number | <spanclass="prop-default">16</span> | Specifies how close to the edge of the window the popover can appear. |
29
+
| <spanclass="prop-name">ModalClasses</span> | <spanclass="prop-type">object || Override or extend the styles applied to the Modal component. See [CSS API](#css-api) below for more details. |
29
30
| <spanclass="prop-name">onClose</span> | <spanclass="prop-type">func || Callback fired when the component requests to be closed.<br><br>**Signature:**<br>`function(event: object) => void`<br>*event:* The event source of the callback. |
30
31
| <spanclass="prop-name">onEnter</span> | <spanclass="prop-type">func || Callback fired before the component is entering. |
31
32
| <spanclass="prop-name">onEntered</span> | <spanclass="prop-type">func || Callback fired when the component has entered. |
0 commit comments