getTracedStyles method

Returns an object that represents the style tracing for an element.

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

 

 

Syntax

var retVal = DiagnosticsStyles.getTracedStyles(element);

Parameters

  • element [in]
    Type: Element

    An element on the current webpage.

Return value

Type: DiagnosticsTracedStyles

Style tracing object.

Remarks

The calculateTracedStyles method must be called at least once before this method is called.

See also

DiagnosticsStyles