Updated specific locations to be searchable, take a look at Las Vegas as an example.

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

10
What are the limitations of Angular Elements?
Post Flair (click to view more posts with a particular flair)
Post Body

I have built a very small Angular Element to run on a standard HTML page and have been pretty blown away by the opportunities this presents - the idea of being able to embed Angular into any type of webpage generated by any platform or language is awesome!!

I have a couple of questions regarding possibilities and limitations of Elements - thought it might be quicker to ask you lovely community members rather than spinning up loads of test apps ;)

- Is there an easy way to embed two Elements on a single page? I have come across the following error. I found a few work arounds on Google but does anyone currently do this and could you point me in the direction of an article that shows the best way to get around it? Ideally I don't want to build both elements in the same project, I'd prefer a library of standalone elements I can pull on when needed.

"Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': this name has already been used with this registry"

- Can multiple Elements talk to each other using standard @Input @Output EventEmitter?

- Can I use routing to allow me to build Elements with much larger functionality - like full mini SPA in a page?

Author
Account Strength
90%
Account Age
7 years
Verified Email
Yes
Verified Flair
No
Total Karma
691
Link Karma
293
Comment Karma
398
Profile updated: 2 days ago
Posts updated: 3 weeks ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago