ClickEventHandler

ClickEventHandler (ODC)

Stable version 0.1.1 (Compatible with ODC)
Uploaded on 25 October 2023 by OutSystems Labs
ClickEventHandler

ClickEventHandler (ODC)

Documentation
0.1.1

When implemented on a block or a screen, it will fire an event when anything on the page is clicked, returning the DOM ID, Class, and TagName of the element that was clicked.


It was originally created for uses like closing popups or dropdowns with a click anywhere on the page, but can also be used to log everything that was clicked by a user from a single action.


To use this component, you need to

  1. Download and install this library.
  2. Drag the Web block onto the screen.
  3. Create a client action for the component's event.