new ATInternet.Tracker.Plugins.TechClicks(tag)
Name | Type | Description |
---|---|---|
tag |
object | Instance of the Tag used |
Methods
-
deactivateAutoManagement()
-
Deactivate the automatic management (redirection/submit/mailto) for clicks on the current page.
-
manageClick(DOMElement, eventObj){object}
-
Take a DOM element (possibly with an event), check if this is a case that should be managed, return false if this is the case (or preventdefault for the event) and call the manager corresponding to the current case (redirection/mailto/submit). Return true if nothing will be done.
Name Type Description DOMElement
object The clicked element eventObj
object The event object provided when triggered