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
The imperative methods <b>can</b> be applied alongside regular tooltip usage. For example, you could use just `close()` to close a regular tooltip after an API request is finished.
88
+
The imperative methods <b>can</b> be applied alongside regular tooltip usage. For example, you could use just `close()` to close a regular tooltip after an HTTP request is finished.
89
89
90
-
If you intend on using the tooltip exclusively with these methods, setting the `imperativeModeOnly` tooltip prop to disable default behavior is recommended. Otherwise, you might face undesired behavior.
90
+
If you intend to use the tooltip exclusively with these methods, setting the `imperativeModeOnly` prop to disable default behavior is recommended. Otherwise, you might face undesired behavior.
91
91
92
92
:::
93
93
94
-
-`open()` opens the tooltip programatically. All of the arguments are optional
95
-
-`anchorSelect` overrides the selector currently in use. Ideally, it should match only one element (e.g. `#some-element`)
96
-
-`position` overrides the tooltip position. Behaves the same as the `position` tooltip prop
97
-
-`place` overrides the tooltip placement relative to the anchor. Behaves the same as the `place` tooltip prop
98
-
-`content` overrides the tooltip content
94
+
-`open()` opens the tooltip programmatically. All arguments are optional
95
+
-`anchorSelect` overrides the current selector. Ideally, it should match only one element (e.g. `#my-element`)
96
+
-`position` overrides the `position` tooltip prop
97
+
-`place` overrides the `place` tooltip prop
98
+
-`content` overrides the tooltip content, whether it was set through `content`, `render`, or any other way
99
99
-`delay` indicates how long (in ms) before the tooltip actually opens
100
-
-`close()` closes the tooltip programatically
100
+
-`close()` closes the tooltip programmatically
101
101
-`delay` indicates how long (in ms) before the tooltip actually closes
0 commit comments