powered by
Change the value text, icon of a material_button on the client. Allow to disable the button and then enable.
update_material_button( session, input_id, label = NULL, icon = NULL, disabled = NULL )
The session object passed to function given to shinyServer.
The input_id of the material_button.
The new label of the material_button.
The new icon of the material_button. If not set, icon disappear.
NULL by default (do nothing), if TRUE the button is disable and if FALSE, enable.
material_button
# NOT RUN { update_material_button( session, input_id = "example_button", value = "New Text", icon = "stop", disabled = FALSE ) # }
Run the code above in your browser using DataLab