Module: scripts/event_handler

This file manages and calls all available events.
Source:

Classes

EventHandler

Methods

(inner) handleEvent(target, data_tag, args)

Calls an event based on the given name stored in the data tags.
Parameters:
Name Type Description
target HTMLElement The targeted UI element that was clicked.
data_tag string The name of the event to call.
args object The other misc. data attributes stored in the target.
Source: