# Basic configuration
config <- hover_activate()
# Custom configuration
config <- hover_activate(
key = "my-hover-behavior",
animation = FALSE,
degree = 1,
direction = "out",
state = "highlight",
inactiveState = "inactive",
onHover = JS("(event) => { console.log('Hover on:', event.target.id); }")
)
Run the code above in your browser using DataLab