CancelLoad for WKWebViewControlMBS

What is the equivalent of CancelLoad in WKWebViewControlMBS? DidFinishNavigation is DocumentComplete. But the rest of the events have lovely long names which don’t tell me anything.

Use the decide events:

event decidePolicyForNavigationAction(navigationAction as WKNavigationActionMBS, decisionHandler as WKPolicyForNavigationActionDecisionHandlerMBS)
event decidePolicyForNavigationResponse(navigationResponse as WKNavigationResponseMBS, decisionHandler as WKPolicyForNavigationResponseDecisionHandlerMBS)
1 Like