Hi Carl,
This is the same behavior as polymer elements. When a new variable is used
in a binding it becomes a property on your element/auto binding template.
In Topeka, having user="{{user}}" on both tags binds their `user` property
together. In this case, the binding variable is also named `user` and that
property gets added to the <template is="auto-bind">. Presumably one of
those tags also initializes its `user` property, and two-way data binding
picks it up and populates the other.
On Thu Feb 12 2015 at 9:27:49 PM Carl Youngblood <[email protected]>
wrote:
> I'm trying to learn polymer from the pros, so to speak, so I'm studying
> the topeka app. One of the first questions is about the template on
> index.html <https://github.com/Polymer/topeka/blob/master/index.html>. I
> noticed that it uses is=auto-binding to make use of the {{}} variable
> binding features in Polymer. I see the variables user, categories and
> connected in the template. What I'm wondering is where these variables get
> set. I don't see any code that is attaching to this template and setting
> them so that they can be passed on to the specified child elements. Can
> somebody please explain better?
>
> Thanks,
> Carl
>
> 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/74f277b9-fb3c-44d7-8b12-9c949d246296%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/74f277b9-fb3c-44d7-8b12-9c949d246296%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/CACGqRCAYsT2EfaSujBpXrcZA43VJ7Wy_b%3DV8fMOnMRAS-xwEeQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.