Hi, I would first select all items from the list using .selectAll and since it returns an array, you can index it like so items.selectAll[it-1]. It has a minus 1 since the indexing starts at 0 for the first element and since it is from 1-6 but indexing is only from 0-5.
2 Comments
VioneT@lemmy.world · 2 pts · 3y
Hi, I would first select all items from the list using
.selectAlland since it returns an array, you can index it like soitems.selectAll[it-1]. It has a minus 1 since the indexing starts at 0 for the first element and sinceitis from 1-6 but indexing is only from 0-5.thargas@lemmy.world · 2 pts · 3y
that's got it! thanks muchly