pointerDevice Property

Description

This property defines the pointer mode the application will run in. This mode adds tweaks, enhancements and optimizations for various pointer device types.

Options

The following String values are valid for this property:

The default is auto if the device supports touch and mouse if it does not.

Note — This property must be set before the startup() method has been called. Setting it after startup has been called will result in an exception.

To set the value of this property, use the ESDWeb object's set method as illustrated below.

Example

To set the enableTouchMode property:

editor = new ESDWeb(null, 'editorNode');

editor.set('pointerDevice', 'touch');

/* set other properties here */

editor.startup(...);

To get the pointerDevice property:

var pointerDevice = editor.get('pointerDevice');