Skip to content

[FEATURE]: LockWebView() and UnLockWebView() #36

@mlipok

Description

@mlipok

What feature would you like, or what problem are you facing?

there is
LockWebView()

public void LockWebView()
{
InvokeOnUiThread(() => {
if (_webView?.CoreWebView2 != null)
{
var s = _webView.CoreWebView2.Settings;
s.AreDefaultContextMenusEnabled = false;
s.AreDevToolsEnabled = false;
s.IsZoomControlEnabled = false;
s.IsBuiltInErrorPageEnabled = false;
}
});
}

where is UnLockWebView()

What's your proposed solution?

please add UnLockWebView()
to
https://github.com/ioa747/NetWebView2Lib/blob/main/src/WebViewManager.cs

Thanks.

Screenshots

No response

Do you want to work on this issue/improvement?

not able

Any additional context?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions