public interface PressKeyCallback extends BrowserSyncCallback<PressKeyCallback.Params,PressKeyCallback.Response>
KeyPressed
event is about to be processed by the
browser.
Return the PressKeyCallback.Response.proceed()
response to allow the browser to process the event.
Return the PressKeyCallback.Response.suppress()
response to suppress the event.
Important: the engine will be blocked until you return a response from the callback.
Modifier and Type | Interface and Description |
---|---|
static interface |
PressKeyCallback.Params
The parameters of the
PressKeyCallback . |
static interface |
PressKeyCallback.Response
A response of the
PressKeyCallback . |
on