Re: [w3c/webcomponents] Constructor arguments in custom elements (#605)

If you just want to provide default constructor arguments, I'd suggest you do that when defining the constructor. You could even use expressions to look them up in a DI container, e.g. `(dep1 = diContainer.get('dep1', this), dep2 = diContainer.get('dep2', this))`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/605#issuecomment-259738860

Received on Thursday, 10 November 2016 16:36:06 UTC