Leadtools.Controls Namespace > InteractiveService Object : Create Method |
this
for this parameter in the Create method.
function Leadtools.Controls.InteractiveService.create( owner , eventsSource , eventsTarget )
Parameter | Type | Description |
---|---|---|
owner | object | The owner of the service. Optional and can be null. This is not used by InteractiveService but can be used by the application to pass any class and extra data. ImageViewer passes this for this parameter in the Create method. |
eventsSource | Element | The events source control (or HTML element in JavaScript). The events of this element will be subscribed to and converted from raw mouse and touch to the common events mentioned above. Required and must be a valid control or HTML element on the page. |
eventsTarget | Element | The events target control (or HTML element in JavaScript). This is the target will be used to check if the event is triggered on its surface and all coordinates will be translated based on its position. Required and must be a valid control or HTML element on the page. |
Type | Description |
---|---|
InteractiveService | The created InteractiveService object. |