enableSelection Property

Summary

Indicates whether selection of HTML elements is enabled.

Syntax

JavaScript Syntax
Object.defineProperty(InteractiveService.prototype, 'enableSelection', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
enableSelection: boolean; 

Property Value

true 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.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly