0

I have a C# windows 10 app and I need to be able to run javascript. In .net I would use a WebView class to give me this ability but doesnt seem available in Native Windows 10 Universal App.

How would I be able to accomplish this?

1

1 Answer 1

2

You can continue to use a Webview, like this:

<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <WebView />
</Grid>

Or you can give a try to ChakraBridge: https://blogs.msdn.microsoft.com/eternalcoding/2015/10/21/using-javascript-frameworks-from-your-cuwp-application/

Thanks,

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.