Yes but I got past that change ok. The dragging works but when I drop then
I fire an event and off that update the underlying model. When the view now
updates the dropped element is in the wrong spot.

I suspect if I triggered a redraw of the core list it would be correct as I
know my model is correctly ordered.

Kevin warned me earlier in this thread that I would likely run into
problems at some point as I'm manipulating the Dom. I suspect this is
what's happened
On Wed, 5 Nov 2014 at 5:26 pm, AJ Ortega <[email protected]> wrote:

> The API for core-list changed in 0.4.2.
>
> <core-list
>     data="{{campaigns}}"
>     height="80">
>   <template>
>     <paper-item label="{{campaignId}} - {{title}}">
>     <a href="#campaign={{campaignId}}"></a>
>     </paper-item>
>   </template>
> </core-list>
>
> becomes
>
> <core-list
>     data="{{campaigns}}"
>     height="80">
>   <template>
>     <paper-item label="{{model.campaignId}} - {{model.title}}">
>     <a href="#campaign={{model.campaignId}}"></a>
>     </paper-item>
>   </template>
> </core-list>
>
>
> On Tue, Nov 4, 2014 at 9:48 PM, Anders Holmgren <[email protected]
> > wrote:
>
>> Kinda. The code I have is at https://bitbucket.org/
>> andersmholmgren/ah_polymer_stuff/src/8af23142f09a8e8b9f315e1426ef0b
>> 0ca504924d/lib/draggable_list_item.html?at=master
>>
>> But it's in dart so won't do you much good if you're using js.
>>
>> Also the last release of core-list-dart broke things somewhat and I
>> haven't had a chance to investigate
>>
>
>> 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/e40fd952-8df5-495c-ab1c-6ca41bcd4e36%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> AJ Ortega | Software Engineer | [email protected] | 626-872-5064
>

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/CAEXrLxp53HAZXUG%3DZSdsDSz5dnAnCfw05vYbnQPnRwwvhirTnw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to