Share via


styles property

Returns an object that allows CSS styles to be queried and turned on and off on specific elements.

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

 

This property is read-only.

 

Syntax

JavaScript
ptr = object.styles

 

Property values

Type: DiagnosticsStyles

The style object.

See also

DiagnosticsGlobalScope