getHoverStyling method

Returns whether a passed element currently is in a hover state.

Note These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.


var retVal = DiagnosticsEmulation.getHoverStyling(element);


  • element [in]
    Type: Node

    HTML page element.

Return value

Type: bool

True if in a hover state, false otherwise.

See also