Skip to main content
Version: Next

ConsoleMessage class

ConsoleMessage objects are dispatched by page via the 'console' event.

Signature:

export declare class ConsoleMessage

Constructors

ConstructorModifiersDescription
(constructor)(type, text, args, stackTraceLocations)Constructs a new instance of the ConsoleMessage class

Methods

MethodModifiersDescription
args()An array of arguments passed to the console.
location()The location of the console message.
stackTrace()The array of locations on the stack of the console message.
text()The text of the console message.
type()The type of the console message.