DOMDebuggerClientGetEventListenersAsync Method |
Version 106.0.290
Returns event listeners of the given object.
Namespace:
CefSharp.DevTools.DOMDebugger
Assembly:
CefSharp (in CefSharp.dll) Version: 106.0.290.0 (106.0.290.0)
Syntax public Task<GetEventListenersResponse> GetEventListenersAsync(
string objectId,
int? depth = null,
bool? pierce = null
)
public:
Task<GetEventListenersResponse^>^ GetEventListenersAsync(
String^ objectId,
Nullable<int> depth = nullptr,
Nullable<bool> pierce = nullptr
)
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:
TaskGetEventListenersResponsereturns System.Threading.Tasks.Task<GetEventListenersResponse>
See Also