Depending on how you set things up, you could listen for the anchor clicks
and then use JavaScript to find the nearest core-collapse, or turn the
whole thing into its own element so the plus symbol always is paired with
one core-collapse and it knows exactly who to open.

On Tue, Feb 17, 2015 at 2:19 PM, Jeremy Odekirk <[email protected]> wrote:

> The demo of core-collapse is too simplistic. How do you use core-collapse
> without specifying a unique id?
>
> I have an auto binding template that gets a list of documents returned by
> core-ajax. After it returns the list I want to have the option of expanding
> any of the items by clicking a plus icon or using core-collapse.
>
> How do you use core-collapse to expand the current clicked row of data
> without specifying an id?
>
> When the item is clicked, I want to run core-ajax to get the insides of
> the item and then display them.
>
>  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/a62d706b-cdb6-4028-bf32-f81f4f9d4515%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/a62d706b-cdb6-4028-bf32-f81f4f9d4515%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/CAJj5OwDWpz5ioE6zMQUeJ4_jbDGHhAq_31GfJ32Ar1xiNy5CYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to