Skip to content

Commit

Permalink
onClick callback
Browse files Browse the repository at this point in the history
  • Loading branch information
dcooley committed Mar 27, 2024
1 parent 6a1fecb commit c18963d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions inst/htmlwidgets/mapdeck.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ HTMLWidgets.widget({
onResize(size) {
if (!HTMLWidgets.shinyMode) { return; }
Shiny.onInputChange(el.id +'_resize', size);
},
onClick(info) {
if (!HTMLWidgets.shinyMode) { return; }
Shiny.onInputChange(el.id + '_click', info);
}
/*
*/
Expand Down

0 comments on commit c18963d

Please sign in to comment.