Skip to content

Event for opening window #29

@lk-code

Description

@lk-code

implement event if webview2 wants to open a new window:

await this.MonacoEditorWebView.EnsureCoreWebView2Async();
if (this.MonacoEditorWebView.CoreWebView2 is not null)
{
    this.MonacoEditorWebView.CoreWebView2.NewWindowRequested += CoreWebView2_NewWindowRequested;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions