setVisitedStyling method

Sets whether a passed element is currently in a visited state.

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

 

 

Syntax

DiagnosticsEmulation.setVisitedStyling(element, visited);

Parameters

  • element [in]
    Type: Node

    An HTML page element.

  • visited [in]
    Type: bool

    True if the element is in a visited state, false otherwise.

Return value

This method does not return a value.

See also

DiagnosticsEmulation