Questions tagged [angular-elements]
Angular Elements compiles Angular Components into framework-agnostic Web Components.
angular-elements
299
questions
1
vote
1
answer
33
views
Angular Elements Overwrites Multiple Instances on the Same Page
I'm using Angular Elements within a WordPress site to show the same component with different attributes on the same page. While the components render correctly when placed on different pages, they ...
2
votes
0
answers
32
views
Angular Elements web component is throwing a zone.js error: "emitter.pipe is not a function"
I have created an Angular Elements web component to be used as a micro-frontend in an existing Vue application. The project requires the custom web component be in Angular and the main application be ...
1
vote
1
answer
35
views
Styling issues with angular web components
I am working on angular and have created a component that is required to be used as both an angular component by an angular application and as a custom web component to be used by another application ...
1
vote
1
answer
369
views
How simply remove hash from chunk in Angular with esbuild
After updating Angular to version 17 with esbuild, a hash is added to the chunk name.
The problem is that if you want to use lazy loading for Angular-elements, then in development mode a hash will be ...
1
vote
0
answers
67
views
How do I add an Angular v.17 Elements component to an ASP.Net webforms app?
I have an ASP.Net Webforms app running .Net 4.5.
I've built an Angular v.17 app with Angular Elements and an Angular Materials Table following this tutorial as a model of the Angular Elements portion: ...
0
votes
0
answers
75
views
Accessing main.js file from 1 angular app exporting angular element into a container angular app
`I have 2 angular applications running on localhost:4200 and localhost:4201.
In localhost:4200, I have converted the complete AppComponent into an angular element .
I have built the project, ...
3
votes
2
answers
3k
views
Custom Element in Angular 17
since I updated Angular to version 17 I can't create web components..
I used to do it in app.module, where are they created now?
I tried in app.component as the guide says but it doesn't seem to work.....
2
votes
1
answer
802
views
Angular 17 Universal (SSR) + Standalone components + WebComponents (Angular elements)
It is possible to create an Angular 17 universal project with standalone components that also have web components (Angular elements)?
I'm trying to import a component (regular one) from an Angular 16 ...
0
votes
0
answers
93
views
Angular-elements and custom-webpack
We have 2 applications (X & Y) both angular projects. App X sitting on Angular 14 and Y sitting on Angular 12 with angular elements & custom webpack and everything working fine here with above ...
0
votes
0
answers
20
views
angularjs element manipulation
I am confused about angularjs manipulation.
How come:
angular.element("#elementID").is(':visible') ; // works
angular.element("#elementID").slideUp() ; // works
...
0
votes
0
answers
55
views
Browser thinks web component is already defined
I'm trying figure out if there's a way to register an Angular component as a web component and pass it into an iframe's srcdoc property. I'm using angular/elements in a somewhat unorthodox way in an ...
0
votes
0
answers
79
views
Angular Elements won't install in my project
I'm trying to add angular elements to my project and the installation gets stuck. When I built this project I had node 18.6.0 and npm 7.21.0 A couple days ago I ran into this same problem trying to ...
0
votes
0
answers
166
views
Is it possibile to export an entire Angular application as web component?
This is a theoric question.
I know I can export an Angular component as a web component with Angular Element.
My question is: can I export and existing entire Angular Application as a web component ...
0
votes
0
answers
78
views
Possible to import Angular 16 based Web Component libraries into an Angular 10 project?
I have an Angular application that is currently stuck on Angular 10 because the main consumer of the application's two core libraries is running in Angular 10 and cannot upgrade for a while (...
0
votes
0
answers
115
views
what are disadvantage of using angular elements
Our application is build on .net MVC using cshtl view, we are planning to migrate it into angular. For this we want to use angular element so that it can be easily mixed with cshtml pages. We would ...