public interface OpenPopupCallback extends BrowserSyncCallback<OpenPopupCallback.Params,OpenPopupCallback.Response>
It is a good place where you can register all the required callbacks and event observers to the newly created popup. Please note that
Return the CreatePopupCallback.Response.create()
response to let the browser to
create a new popup.
Return the OpenPopupCallback.Response.proceed()
response to notify the engine that callback has been
completed and the engine can go on with loading content in the opened popup.
Important: the engine will be blocked until you return control from the callback.
Modifier and Type | Interface and Description |
---|---|
static interface |
OpenPopupCallback.Params
The parameters of the
OpenPopupCallback . |
static interface |
OpenPopupCallback.Response
A response of the
OpenPopupCallback . |
on