You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am trying to use the webview, but it does not seem to work.
Steps to Reproduce
clone repository
npm i
add webviewTag: true to BrowserWindow in the main.ts file as described here
append <webview src="https://www.github.com/"></webview> to home.component.html
npm start
Then I receive the following error:
Uncaught Error: Template parse errors:
'webview' is not a known element:
1. If 'webview' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.
What I've tried so far
After some investigation I found out that the selector of the WebviewDirective is declared as an attribute directive. Is this intended? Is there a reason for that?
Hello,
I am trying to use the webview, but it does not seem to work.
Steps to Reproduce
npm i
webviewTag: true
to BrowserWindow in the main.ts file as described here<webview src="https://www.github.com/"></webview>
to home.component.htmlnpm start
Then I receive the following error:
What I've tried so far
After some investigation I found out that the selector of the WebviewDirective is declared as an attribute directive. Is this intended? Is there a reason for that?
Appendix:
Related to #332
The text was updated successfully, but these errors were encountered: