There is an element area <p></p>
. How to use angular to implement the following functions:
1. Start timing as soon as the page is opened (that is, when initialized).
2. Then, when the mouse slides in ((mouseenter事件
), clear the timer $interval
3. Then, when the mouse slides out (mouseleave事件
), turn on the timer $interval
Thank you for your advice
http://sentsin.com/web/486.html