You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
As far as I can see it's not possible to loop over an object, despite this being extremely logical in certain cases (say we have a dedicated element showing a list of tests, document.getElementById('testList').tests.someTest.correct=0 would be a sensible interface, however this isn't really possible with the NodeBind setup right now (as far as I was able to find out)). Is there any specific reason this is not supported? Especially the in syntax suggests it should work, but at least on the stable version this doesn't seem to be working.
Just to be clear here, I talking about
<template repeat="{{a in b}}">
c
</template>
where b is {a:'b',c:'d'}.
The text was updated successfully, but these errors were encountered:
Ah, you're indeed right, my bad. Honestly, some documentation would indeed be useful 😇 . This is the second or third time (depending how you count) in the Polymer project I thought I had the right repository but didn't 😅 . Is there any overview at all of how the different repositories tie into eachother? As in, just some treeview or something?
As far as I can see it's not possible to loop over an object, despite this being extremely logical in certain cases (say we have a dedicated element showing a list of tests,
document.getElementById('testList').tests.someTest.correct=0
would be a sensible interface, however this isn't really possible with the NodeBind setup right now (as far as I was able to find out)). Is there any specific reason this is not supported? Especially thein
syntax suggests it should work, but at least on the stable version this doesn't seem to be working.Just to be clear here, I talking about
where
b
is{a:'b',c:'d'}
.The text was updated successfully, but these errors were encountered: