Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Object that represents the line, column, and file of a style's ___location in the original source.
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 sourceLocation = DiagnosticsStyles.getSourceLocation(element.style);
DOM Information
Inheritance Hierarchy
The DiagnosticsSourceLocation does not inherit from any class or interface.
Members
The DiagnosticsSourceLocation object has these types of members:
- Properties
Properties
The DiagnosticsSourceLocation object has these properties.
Property | Access type | Description |
---|---|---|
Read-only |
Returns the column number, or character position of the ___location in the source file. |
|
Read-only |
Returns the file URI or path for a source file. |
|
Read-only |
Returns the line number portion of the ___location in the source file. |