diff --git a/docs/docs/options.mdx b/docs/docs/options.mdx index 996373f3..4bdb006a 100644 --- a/docs/docs/options.mdx +++ b/docs/docs/options.mdx @@ -116,8 +116,8 @@ import { Tooltip } from 'react-tooltip'; | ~~`closeOnEsc`~~ | ~~`boolean`~~ | ~~no~~ | ~~`false`~~ | ~~`true` `false`~~ | ~~Pressing escape key will close the tooltip~~
**DEPRECATED**
Use `globalCloseEvents` instead. | | ~~`closeOnScroll`~~ | ~~`boolean`~~ | ~~no~~ | ~~`false`~~ | ~~`true` `false`~~ | ~~Scrolling will close the tooltip~~
**DEPRECATED**
Use `globalCloseEvents` instead. | | ~~`closeOnResize`~~ | ~~`boolean`~~ | ~~no~~ | ~~`false`~~ | ~~`true` `false`~~ | ~~Resizing the window will close the tooltip~~
**DEPRECATED**
Use `globalCloseEvents` instead. | -| `openEvents` | `Record` | no | `mouseenter` `focus` `mouseover` | `mouseenter` `focus` `mouseover` `click` `dblclick` `mousedown` | Events to be listened on the anchor elements to open the tooltip | -| `closeEvents` | `Record` | no | `mouseleave` `blur` `mouseout` | `mouseleave` `blur` `mouseout` `click` `dblclick` `mouseup` | Events to be listened on the anchor elements to close the tooltip | +| `openEvents` | `Record` | no | `mouseover` `focus` | `mouseover` `focus` `mouseenter` `click` `dblclick` `mousedown` | Events to be listened on the anchor elements to open the tooltip | +| `closeEvents` | `Record` | no | `mouseout` `blur` | `mouseout` `blur` `mouseleave` `click` `dblclick` `mouseup` | Events to be listened on the anchor elements to close the tooltip | | `globalCloseEvents` | `Record` | no | | `escape` `scroll` `resize` `clickOutsideAnchor` | Global events to be listened to close the tooltip (`escape` closes on pressing `ESC`, `clickOutsideAnchor` is useful with click events on `openEvents`) | | `imperativeModeOnly` | `boolean` | no | `false` | `true` `false` | When enabled, default tooltip behavior is disabled. Check [the examples](./examples/imperative-mode.mdx) for more details | | `style` | `CSSProperties` | no | | a CSS style object | Add inline styles directly to the tooltip |