connectAttach
fun connectAttach(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> Boolean): <Error class: unknown class>
Emitted when the inspector is requested to be attached to the window where the inspected web view is. If this signal is not handled the inspector view will be automatically attached to the inspected view, so you only need to handle this signal if you want to attach the inspector view yourself (for example, to add the inspector view to a browser tab).
To prevent the inspector view from being attached you can connect to this signal and simply return true.
Parameters
connectFlags
A combination of ConnectFlags
handler
the Callback to connect. Returns true to stop other handlers from being invoked for the event. false to propagate the event further.