We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
popover
showPopover
The example code assigns the id of the element to a target argument, rather than the required id element:
target
id
ui <- container( buttonInput("showHelp", "Help!"), div( id = "textBlock1", "Sociis natoque penatibus et magnis" ) %>% padding(3) ) %>% display("flex") %>% flex(justify = "around") server <- function(input, output) { observeEvent(input$showHelp, ignoreInit = TRUE, { showPopover( target = "textBlock1", popover(title = "Hint", "I am a <div> element!"), placement = "bottom", duration = 4 ) }) } shinyApp(ui, server)
Giving in the console:
Warning: Error in showPopover: unused argument (target = "textBlock1") [No stack trace available]
And not showing the popover.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The example code assigns the id of the element to a
target
argument, rather than the requiredid
element:Giving in the console:
And not showing the popover.
The text was updated successfully, but these errors were encountered: