| ClickAwayListener | R Documentation |
https://mui.com/material-ui/api/click-away-listener/
ClickAwayListener(...)
... |
Props to pass to the component. |
children element
Default is - The wrapped element.This needs to be able to hold a ref.
onClickAway func
Default is - Callback fired when a "click away" event is detected.
disableReactTree bool
Default is FALSE If true, the React tree is ignored and only the DOM tree is considered. This prop changes how portaled elements are handled.
mouseEvent 'onClick'| 'onMouseDown'| 'onMouseUp'| 'onPointerDown'| 'onPointerUp'| false
Default is 'onClick' The mouse event to listen to. You can disable the listener by providing false.
touchEvent 'onTouchEnd'| 'onTouchStart'| false
Default is 'onTouchEnd' The touch event to listen to. You can disable the listener by providing false.
Object with shiny.tag class suitable for use in the UI of a Shiny app.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.