Reputation: 99
In my oomponent, I have an array of array :
weekDays: Array<Array<{title:string, value:number, isChecked:boolean}>>;
The JSON structure of weekDays
look like this :
How to access to (for example) the third value of isChecked
of the the second array contained in weekDays
( weekDays1 ), IN my HTML template.
Upvotes: 0
Views: 57
Reputation: 393
Try to add it by doing:
weekDays[1][2].isChecked or weekDays['1']['2'].isChecked
Upvotes: 3