webview.MSWebViewPermissionRequested event
Indicates that content in the WebView is trying to access functionality (such as geolocation, or pointer lock access) that normally requires end-user permissions.
Syntax
function handler(eventInfo) { /* Your code */ } // addEventListener syntax webview.addEventListener("MSWebViewPermissionRequested", handler); webview.removeEventListener("MSWebViewPermissionRequested", handler);
Event information
| Synchronous | No |
|---|---|
| Bubbles | Yes |
| Cancelable | No |
Event handler parameters
- eventInfo
-
Type: Event
An object that contains information about the event.
Requirements
|
Minimum supported client |
Windows 10 [Windows Store apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Minimum supported phone |
None supported |
See also
Show: