Listens the touch button events for given element.

Namespace:  C1.Web.iPhone
Assembly:  C1.Web.iPhone.Client (in C1.Web.iPhone.Client.dll)

Syntax

JavaScript
C1.Web.iPhone.TouchEventDispatcher.enableTouchButtonEvents = function(element, actionCallback, highlightCallback);

Parameters

element
Type: DOMElement
DOM element.
actionCallback
Type: C1.Web.iPhone..::..TouchEventHandler
The action callback.
highlightCallback
Type: C1.Web.iPhone..::..TouchButtonHighlightHandler
The highlight callback.

See Also