ZoomifyViewer.getFocus()

Availability

Flash Player 6.

Usage

ZoomifyViewerInstance.getFocus();

Parameters

None

Returns

True or False value indicated whether ZoomifyViewer instance has focus.

Description

Gets whether focus is currently true for a specified ZoomifyViewer instance. When a ZoomifyViewer instance has focus, key events are received. Note that focus is automatically set to true by mouse interaction with the image.

Example

var focusValue = ZoomifyViewerInstance.getFocus();

See also

ZoomifyViewer.setFocus
ZoomifyViewer.setEnabled
ZoomifyViewer.getEnabled
ZoomifyViewer.registerCallback