LEADTOOLS JavaScript (Leadtools.Controls)

EnableSelection Property

Show in webframe
Gets or sets a value that indicates whether selection of HTML elements is enabled.
Syntax
get_enableSelection();
set_enableSelection(value);
Object.defineProperty('enableSelection');

Property Value

TypeDescription
booleantrue if selection of HTML elements is enabled; otherwise, it is false. Default value is true.
Remarks

When the value of EnableSelection is false, the service will subscribe to the HTML document selectstart event and prevents the default behavior. This will prevent the user from dragging and selecting elements on the HTML page.

See Also

Reference

InteractiveService Object
InteractiveService Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.