Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ReactTooltip/react-tooltip
/ handleOpen
Function
handleOpen
src/test/tooltip-imperative.spec.js:15–17 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
const
tooltipRef = useRef(null)
14
15
const
handleOpen = () => {
16
tooltipRef.current?.open()
17
}
18
19
const
handleClose = () => {
20
tooltipRef.current?.close()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected