angular-elements Questions

4

Solved

I'm building out an angular element and passing some input params to it. I can pass some string input params just fine (ikrId and environment work perfectly) but struggling to pass a boolean value ...
Bickering asked 26/9, 2018 at 22:22

2

Solved

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 wo...

1

I have an angular app upgraded to angular 9 and I am using angular element in it which is also upgraded to angular 9. I have a service module (angular 9) which I am importing in my angular app. My ...
Batsheva asked 15/6, 2020 at 22:8

3

I would like to create a library of web components using Angular Elements that have default templates but allow developers to override the output. For example, consider a search-results component. ...
Lawler asked 10/4, 2022 at 18:34

3

Solved

I have a created a small web component with the help of this article using angular element which includes @Input and @Output. I am able to pass data to @Input property but listening to the @Output...

7

I have several separated web components, made with angular elements, that I import in a main one, which has a router and is the base application. Routes are pretty simple: import { Component } fro...
Tetrastichous asked 27/9, 2018 at 15:57

2

Solved

I started lately to play a little bit with angular elements that was released in angular V6, I opened a small sandbox project for that purpose. https://github.com/Slash7GNR/ndv-angular-elements Now...
Faceplate asked 11/6, 2018 at 8:9

7

We have an existing Angular 8 project which includes a bunch of common components (like custom datepickers, numeric inputs, ...). The project itself is a standard Angular-app. We want to extract s...
Happen asked 5/8, 2019 at 8:39

2

I have the simplest possible angular element within an angular project. I throw error in component belonging to angular element as follows: dashboard-tile.component.ts user as <dashboard-tile a...
Platt asked 10/3, 2019 at 20:42

3

Solved

I am working on a recursive query builder form, which is something similar to this, in angular 7, with reactive form. Means, the user can keep adding a parallel rule by clicking on Add rule and can...
Melina asked 11/2, 2019 at 14:25

2

Solved

I'm look into Angular Elements and thinking of generate our Angular Components into Angular Elements to make it possible to be used outside Angular applications. Let's say I got a Angular 4 app wh...
Promoter asked 21/11, 2018 at 18:36

1

Solved

I'm getting a strange warning in VSCode( 1.44.0-insider ) with Angular9 in creating Angular Elements: export class AppModule { constructor(private injector: Injector) { const helloElement = cre...
Allspice asked 11/3, 2020 at 10:22

2

I try to get Angular Elements working in IE11. My custom element (simple button) is already displayed and the input binding is working as expected, but the output binding doesn't. A click on my cu...
Selfdeceit asked 21/1, 2019 at 16:1

3

Solved

I recently downloaded the Angular CLI (@angular/cli 9.0.1). I then proceeded to create a new application so that I could create a new Angular Element, package it up, and use it in another applicati...
Cathee asked 12/2, 2020 at 15:53

2

I created a small app using angular custom elements feature (element.js), imported that element.js file into another angular(parent) app in index.html, in development server (ng serve) element feat...
Kyanize asked 28/8, 2019 at 15:41

0

I have a huge Angular application where a couple of components are exported as @angular/elements. These components (although they still use shared services and components) are used in a different ...

1

I built a project using angular-elements and managed to successfully embed a component into another application. What I would like to do now is be able to debug the original component from the appl...
Propylite asked 6/8, 2018 at 8:13

1

The problem arises when we are going to create a custom radio button as a web component using Shadow Dom. Normally when we are using radio buttons, we usually give the same name to the grouped rad...

1

Solved

TL;DR: I’m trying to use Angular Elements as plugins for an Angular application. If I build the element with --prod it works with ng serve on my app (development setup), but it goes into infinite r...
Catalogue asked 28/3, 2019 at 12:54

1

Solved

following starting point: We have a few angular frontend micro-services, and now we want to bring them together in one app. We are trying the Angular-Elements approach and we have exported one of ...
Lorelle asked 12/4, 2019 at 11:33

1

As you know, the "ng g library" approach helps us with the creation of libraries of reusable components. But what if I wanted those components to be compiled into web components... through the supp...
Valeta asked 25/3, 2019 at 16:46

1

Solved

My team works with multiple angular projects. For code reuse, we have a lot of presentational components extracted into libraries, which we then use in our various projects. So, given that all ou...
Custos asked 26/3, 2019 at 11:46

2

I'm creating an Angular Element to be used in other projects. The element is a component containing Angular Material components in its template, so ultimately my element requires that the page to &...
Insatiable asked 4/7, 2018 at 0:17

3

Looking for guidance on how to use Angular Elements that will work across other browsers especially with Internet Explore 11. So far following the recommended convention of using ngDoBootstrap to ...
Exorcise asked 22/3, 2019 at 14:13

2

I have been playing around with Angular Elements and trying to achieve the best browser compatibility possible. However I seem to have hit a dead end, since when I add an IE polyfill for Shadow DOM...

© 2022 - 2024 — McMap. All rights reserved.