vuejs
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Interactivity 61<br />
1 <br />
2 <br />
3 Let's hear some famous stories! ({{famous.length}})<br />
4 <br />
5 <br />
8 {{ story.writer }} said "{{ story.plot }}"<br />
9 and upvoted {{ story.upvotes }} times.<br />
10 <br />
11 <br />
12 <br />
13 <br />
Filter array using a computed property<br />
That’s it. We have filtered our array using a computed property. Did you notice how easily we managed<br />
to display the number of famous stories next to our heading message using {{famous.length}}?<br />
Info<br />
Although using a computed property to perform array filtering gives you more flexibility,<br />
array filters can be more convenient for common use cases.