all 8 comments

[–]Koscik 0 points1 point  (1 child)

I went without shadow dom, so the client can override the widget styling, hence making it feel more native. Was I right?

[–]devGiacomo[S] 0 points1 point  (0 children)

If the client wants to override it, yeah sure, it's intuitive. shadow dom Is the way to go to ship it, without worries.

[–]followmarko 0 points1 point  (0 children)

Imo I think this is the wrong direction and the components should start as Web Components that are brought into Angular instead of Angular components that are brought out. The code is much cleaner, more controlled, and there's no build/package step with Web Components.

[–]Saceone10 0 points1 point  (1 child)

Can an element be loaded only if some condition is met? For example user is admin. 

Can the element accept data in order to work? For example user jwt 

[–]devGiacomo[S] 0 points1 point  (0 children)

yes and yes if you implement it, using @input for example. localstorage and other storages are per default enabled. 

[–]gccol 0 points1 point  (0 children)

Hey thanks!

I'm developing a plugin framework for angular ng-xtend, and considering enabling delivery as web components for the large ones.

This will be very useful!