Show / hide feedback messages.
feedback(
inputId,
show,
text = NULL,
color = NULL,
icon = NULL,
session = shiny::getDefaultReactiveDomain()
)feedbackWarning(
inputId,
show,
text = "Ye be warned",
color = "#F89406",
icon = shiny::icon("warning-sign", lib = "glyphicon"),
session = shiny::getDefaultReactiveDomain()
)
feedbackDanger(
inputId,
show,
text = "Danger, turn back!",
color = "#d9534f",
icon = shiny::icon("exclamation-sign", lib = "glyphicon"),
session = shiny::getDefaultReactiveDomain()
)
feedbackSuccess(
inputId,
show,
text = NULL,
color = "#5cb85c",
icon = shiny::icon("ok", lib = "glyphicon"),
session = shiny::getDefaultReactiveDomain()
)
the Shiny input's inputId
argument
Whether or not the feedback should be shown. The `show` argument uses `shiny::isTruthy()` to evaluate its value to `TRUE` or `FALSE`.
text string to display below input
the color of the feedback
an html icon tag
the shiny
session
showFeedback hideFeedback