-
- Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
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?
Appendix:
Related to #332
Metadata
Metadata
Assignees
Labels
No labels