new Vue({
data: {
folders : [{
name : 'folder1',
isActive : 1,
},
{
name : 'folder2',
isActive : 0,
},
]
}
}
})
Is there a way to access the active value without using v-for?
I attempted $folders[0]
I successfully retrieve the first object, but trying to access $folders[0].isActive
results in an error