ui-virtualization icon indicating copy to clipboard operation
ui-virtualization copied to clipboard

Detect Map mutations

Open cehoffman opened this issue 9 years ago • 4 comments

Besides the problem in #54 when binding an empty Map it seems that any additions to a Map instance using map.set() are not detected. Are maps supported with virtual repeat? I thought that was part of abstract repeat strategy. The only way I've been able to get anything to show with a map is to go through a value converter that produces an array and even when I do that any changes in the map are not pushed through the value converter.

cehoffman avatar May 19 '16 09:05 cehoffman

@cehoffman The virtual-repeat correctly uses the same plugin approach as the standard repeat where different strategiest for iterating different collections can be plugged in. However the stratagies are quite different from the standarad repeat due to the virtualization aspect. And currently focus is to make the Array strategy solid. Then on to map, set etc. Basically a map implementation of virtual-repeat-array-strategy would need to be created and registrered here. But there is probably a lot of code that could be broken out and shared across the repos. If you want to helpout in implementing that it would be greatly appriciated!

martingust avatar May 20 '16 10:05 martingust

stale since 2016

Alexander-Taran avatar Mar 03 '18 15:03 Alexander-Taran

@bigopon not considered for au2?

Alexander-Taran avatar Jun 03 '22 16:06 Alexander-Taran

it can be done for au2, just haven't started.

bigopon avatar Jun 03 '22 22:06 bigopon