Here's a quick'n'dirty example of how you might do this. I've used a `core-list` element to efficiently render a very large list. The list is being filtered by an input, but typing in the input is not directly tied to updating the list. We use a computed property the calculation of which is only recomputed at most every 500ms.
http://jsbin.com/saguv/5/edit On Thu, Aug 14, 2014 at 2:54 AM, Daniel Chin <[email protected]> wrote: > Hi Guys > > I am using template repeat to show a list of results which I have a input > hooked up to a changed watcher that takes the value entered and performs a > query which in turn manipulates a model connected to the repeating > template. I have noticed that any adjustment to the data that repeating > template is bound will create or remove the custom elements, Invoking the > polymer-element construction stages. I would expect this behaviour to > happen, My problem arises within my custom-element if I am doing work > within the attached callback or so. This seems to lockup the input that is > bound to the change watcher whilst its waiting for the custom-element to be > done and displayed. I was wondering what are best practises for for > repeating templates with custom elements nested which possibly perform > tasks during creation. > > Cheers > > 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/1ea34a54-29c7-4b87-b075-3486b9bcd41f%40googlegroups.com > <https://groups.google.com/d/msgid/polymer-dev/1ea34a54-29c7-4b87-b075-3486b9bcd41f%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/CA%2BrMWZgdy6i14or%2B5dr1GsYRooNkfp9ny0GTXLysv1_c47sWEQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
