There's currently no easy and consistent way to access the index of a specific entry from the DOM: since a LiveData can be displayed as a card or as a table row, we cannot really use easily DOM traversal to compute that. And that information is very handy for using the JS API of LiveData. So it would be very useful to provide the info directly inside the DOM as a data attribute. |