Namespace: TDI

TDI

Javascript library which enables the communication between the UI and the application, using the Infusion AJAX protocol, see: https://wiki.twinstone.org/display/TDI/Infusing+Protocol.

Minimum jQuery version required for TDI is 1.10.2.

Namespaces

Ajax
Tools

Events


tdi:ajax:beforeFormSubmit

Fires before the form is submited.

This event is preventable. Use preventDefault() to prevent the default action (_onFormSubmit).

Parameters:
Name Type Description
evt Event

The event object

data Object

The event properties

Properties:
Name Type Description
form jQuery

The form object


tdi:ajax:beforeLinkClick

Fires before the link is clicked (before the link action is executed).

This event is preventable. Use preventDefault() to prevent the default action (_onLinkClick).

Parameters:
Name Type Description
evt Event

The event object

data Object

The event properties

Properties:
Name Type Description
link jQuery

The link object