As far as I know, there is nothing in the spec as of yet to allow for user
defined registries. I believe this is planned for a later iteration of the
spec.
Spec bug about this topic:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24578

On Wed, Apr 1, 2015 at 2:36 PM, alessandro meyer <[email protected]
> wrote:

> Hello There
>
> I've been trying to found out whether it is possible to create nested
> registries either through polymer or native web components. But the W3C
> Spec is not really explicit enough for me about it.
>
>
> http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries
>
>
> Says:
> *When creating a template contents owner document
> <https://html.spec.whatwg.org/multipage/scripting.html#appropriate-template-contents-owner-document>,
> use a new empty registry
> <http://w3c.github.io/webcomponents/spec/custom/#dfn-registry>.*
>
> How would I do that? My goal is to have scoped imports so elements never
> clash in the global scope. If there are other approaches to it I'm happy to
> give them a try.
>
> Thanks!
> Alessandro
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/53c86322-eb32-4f23-84a3-0d2727d911bd%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/53c86322-eb32-4f23-84a3-0d2727d911bd%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CAAUAVAgFCK3uv_NvR6W2ViinMRw1n22NeRGx6%2BAu6M0-U-sWZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to