Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

HitTestStateCursor Property

Show in webframe
Mouse cursor to use for the hit-test state of this ImageViewerInteractiveMode.
Syntax
get_hitTestStateCursor();
set_hitTestStateCursor(value);
Object.defineProperty('hitTestStateCursor');

Property Value

TypeDescription
stringThe mouse cursor to use for the hit-test state of this ImageViewerInteractiveMode. The default value is null.
Remarks

HitTestState and HitTestStateCursor can be used with interactive modes that subscribe to the InteractiveService.Move event and indicate that the mousse cursor is over an area of interest by updating the state and changing the mouse cursor.

Mouse cursors are only supported by desktop browsers.

The values are standard HTML cursor strings. You can use a value like "crosshair" or "move". They will be set into the CSS style.cursor property of the HTML element. A value of null, means "do not change the cursor".

The cursor is set into the ImageViewer main div (ImageViewer.MainDiv) and foreground canvas (ImageViewer.ForeCanvas) elements. Also, the cursor will be set in any elements added by the user to the InteractiveService.UserControls collection.

Example

For an example, refer to HitTestState.

See Also

Reference

ImageViewerInteractiveMode Object
ImageViewerInteractiveMode Members

Error processing SSI file