LEADTOOLS JavaScript (Leadtools.Controls)
LEAD Technologies, Inc

Create Method (InteractiveService)


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.
The events HTML element. 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 HTML element on the page.
The target HTML element. This element 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 HTML element on the page.
Creates a new instance of InteractiveService with the specified parameters.
Syntax
 function Leadtools.Controls.InteractiveService.create( 
   owner ,
   eventsElement ,
   targetElement 
)
!MISSING Scrap '_RTJavaScript_Method_SYNTAX'!

Parameters

ParameterTypeDescription
ownerobjectThe 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.
eventsElementElementThe events HTML element. 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 HTML element on the page.
targetElementElementThe target HTML element. This element 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 HTML element on the page.

Return Value

TypeDescription
InteractiveService The created InteractiveService object.
See Also

Reference

InteractiveService Object
InteractiveService Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.