![]() The unique identifier of the current frame. WebMessageReceived is raised when the CoreWebView2Settings.IsWebMessageEnabled setting is set and the iframe runs. PermissionRequested is raised when content in an iframe or any of its descendant iframes requests permission to access some privileged resources. NavigationStarting is raised when the current frame is requesting permission to navigate to a different URI. NavigationCompleted is raised when the current frame has completely loaded ( body.onload has been raised) or loading stopped with error. ![]() NameChanged is raised when the iframe changes its window.name property. ContentLoading is not raised if a same page navigation occurs.ĭOMContentLoaded is raised when the initial HTML document has been parsed.ĭestroyed event is raised when the iframe corresponding to this CoreWebView2Frame object is removed or the document containing that iframe is destroyed. Remove the host object specified by the name so that it is no longer accessible from JavaScript code in the iframe.ĬontentLoading is raised before any content is loaded, including scripts added with CoreWebView2.AddScriptToExecuteOnDocumentCreatedAsync. Posts a message that is a simple string rather than a JSON string representation of a JavaScript object. Posts the specified webMessageAsJson to the current frame. Share a shared buffer object with script of the iframe in the WebView. Returns true during the CoreWebView2Frame.Destroyed event. Runs JavaScript code from the javaScript parameter in the current frame.Ĭheck whether a frame is destroyed. The name of the iframe from the iframe html tag declaring it. It's the same kind of ID as with the CoreWebView2.FrameId and CoreWebView2FrameInfo.FrameId. You can get a CoreWebView2Frame by handling the CoreWebView2.FrameCreated event. CoreWebView2Frame provides direct access to the iframes information and handling.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |