includeCSS()
htmlDependency()
renderUI
Shiny.setInputValue
getType
As shiny does that we can use the binding the behind the shiny::actionButton.
shiny
shiny::actionButton
actionButtonInputBinding shiny input binding which apply for elements with class = action-button
actionButtonInputBinding
class = action-button
var actionButtonInputBinding = new InputBinding(); $.extend(actionButtonInputBinding, { find: function(scope) { return $(scope).find('.action-button'); }, getValue: function(el) { return $(el).data('val') || 0; }, // ....; Extra code removed });