-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tooltip()
API
#662
Add tooltip()
API
#662
Conversation
…(i.e., card item) (#668)
Co-authored-by: Garrick Aden-Buie <garrick@adenbuie.com>
@gadenbuie this is ready for another (closer) look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Here are comments and thoughts from the R side, I'll read through the JS side later today.
R/tooltip.R
Outdated
|
||
#' @describeIn tooltip Update the contents of a tooltip. | ||
#' @export | ||
tooltip_update <- function(id, ..., session = get_current_session()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we support updating other aspects of the tooltip, like placement
or options
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Potentially, maybe in the future?
…ty; fix issue with updating; code review stuff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
Adds
tooltip()
,update_tooltip()
, andtoggle_tooltip()