Get the current browser orientation.

Usage

Parameters

Name Type description
callback function

Callback function which is called with the result value.

Returns

Type description
string

The current browser orientation: {LANDSCAPE|PORTRAIT}