Click or drag to resize

DOMDebuggerClientGetEventListenersAsync Method

Version 90.6.50
Returns event listeners of the given object.

Namespace:  CefSharp.DevTools.DOMDebugger
Assembly:  CefSharp (in CefSharp.dll) Version: 90.6.50.0 (90.6.50.0)
Syntax
public Task<GetEventListenersResponse> GetEventListenersAsync(
	string objectId,
	Nullable<int> depth = null,
	Nullable<bool> pierce = null
)

Parameters

objectId
Type: SystemString
Identifier of the object to return listeners for.
depth (Optional)
Type: SystemNullableInt32
The maximum depth at which Node children should be retrieved, defaults to 1. Use -1 for theentire subtree or provide an integer larger than 0.
pierce (Optional)
Type: SystemNullableBoolean
Whether or not iframes and shadow roots should be traversed when returning the subtree(default is false). Reports listeners for all contexts if pierce is enabled.

Return Value

Type: TaskGetEventListenersResponse
returns System.Threading.Tasks.Task<GetEventListenersResponse>
See Also