- Full-Stack Vue.js 2 and Laravel 5
- Anthony Gore
- 44字
- 2021-07-02 19:57:19
Arguments
Some directives take anargument, denoted by a colon after the directive name. For example, thev-ondirective, which listens to DOM events, requires an argument to specify which event should be listened to:
<a v-on:click="doSomething">
Instead ofclick, the argument could bemouseenter,keypress,scroll,or any other event (including custom events).
推薦閱讀
- Java 9 Concurrency Cookbook(Second Edition)
- Learning Network Forensics
- Python:Master the Art of Design Patterns
- Python編程:從入門到實(shí)踐
- Getting Started with Laravel 4
- Android Wear Projects
- Java Web開發(fā)就該這樣學(xué)
- Unity&VR游戲美術(shù)設(shè)計(jì)實(shí)戰(zhàn)
- .NET 4.5 Parallel Extensions Cookbook
- Machine Learning With Go
- RubyMotion iOS Develoment Essentials
- Fastdata Processing with Spark
- 跟戴銘學(xué)iOS編程:理順核心知識(shí)點(diǎn)
- Hacking Android
- 少年小魚的魔法之旅:神奇的Python