svgClickHandler: Handler for an image click

View source: R/events.r

svgClickHandlerR Documentation

Handler for an image click

Description

Handler for an image click

Usage

svgClickHandler(id, fun, ..., eventId = if (stop.propagation) "svgClickEvent"
  else "svgClickEventWithPropagation", class = "clickable_svg",
  app = getApp(), no.authentication.required = FALSE,
  stop.propagation = TRUE)

Arguments

id

id of the HTML img object

fun

the handler fun that will be called when the image is clicked

...

additional arguments passed to the handler fun


skranz/shinyEvents documentation built on Jan. 1, 2023, 9:25 a.m.