Binding Stray DOM Events
The Event Helper object manages events and their handlers. This object is available as the custom physical renderer for event handler management. You can use the helper object to attach custom event handlers to stray DOM objects. The objects fall into one of the following categories:
DOM elements configured in SWE OUI templates. These are DOM elements configured in the SWE OUI Templates but not in the repository, and are directly addressed and manipulated at the client-level using JavaScript code.
DOM elements with no representation. These are DOM elements that have no representation on the server, and are completely constructed and manipulated at the client-level using JavaScript code.
The event helper object can attach and manage event handlers to both types of DOM elements previously listed. However, it is essential that any stray binding occurring in the custom renderer code is modified to work with the Event Helper object. The Event Helper object homogenizes events between different platforms and devices, and consequently, bound handlers are consistently run across devices.