public interface InjectCssCallback extends BrowserSyncCallback<InjectCssCallback.Params,InjectCssCallback.Response>
Return the InjectCssCallback.Response.inject(String)
response to inject a custom stylesheet into the
document.
Return the the InjectCssCallback.Response.proceed()
response to continue loading without injecting a
custom style sheet into the document.
If the callback throws an exception, the InjectCssResponseCallback.proceed()
method
will be invoked.
This callback may be invoked several times for the same frame.
Important: the engine will be blocked until you return control from the callback.
Modifier and Type | Interface and Description |
---|---|
static interface |
InjectCssCallback.Params
The parameters of the
InjectCssCallback . |
static interface |
InjectCssCallback.Response
A response of the
InjectCssCallback . |
on