angular-extensions / elements

Lazy load Angular Elements (or any other web components / custom elements ) with ease!
https://angular-extensions.github.io/elements/
MIT License
315 stars 40 forks source link

Request for shadow-root support #116

Open lukasonokoleg opened 2 years ago

lukasonokoleg commented 2 years ago

Hello,

Kindly requesting to support:

<ax-lazy-element 
    (onWbcEvent)="handleWbcEvent($event)" 
    [message]="message"
    *axLazyElementDynamic="state.component, url: url(); loadingTemplate: loading; errorTemplate: error;">
</ax-lazy-element>

Such functionality - within shadow-root element.

FYI -> https://gist.github.com/hoisel/1f9691e937f6dc0bfd3f2080eb7f9369 -> This might be useful.

Kind Regards, Oleg Lukasonok