-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Labels
Description
I want something like this:
{
data() {
return {
song: {
tracks: [...]
}
}
},
computed: {
'song.duration'() {
return max(this.song.tracks.map(track => track.duration))
}
}
}
in such a way that duration
is an actual (computed) property on the song object.
I have a feeling this may be quite easy to add. With some pointers where to start, I'd be happy to try to add this myself.
IharKrasnik, vessemer, Meekohi, btoo, egamzin and 11 more