isFocus method

Returns true if the viewer currently has focus in the browser.

Sample syntax

var viewerFocus = ViewONE.isFocus();