Complete Vue.js 2 Web Development_ Practical guide to building end-to-end web development solutions with Vue.js 2

(singke) #1
Advanced Vue.js - Directives, Plugins, and Render Functions Chapter 17

If we open the page now, we get this:


Now we want to add a fun note to our website. We want the elements of the page, except


the title, to jump at random intervals.


To do this, the strategy you will implement is to register all the elements that will need to


jump in an array, and then, periodically take a random element and make it jump.

Free download pdf