- 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).
推薦閱讀
- Python量化投資指南:基礎、數(shù)據(jù)與實戰(zhàn)
- JIRA 7 Administration Cookbook(Second Edition)
- Python GUI Programming Cookbook
- Rust Cookbook
- TypeScript實戰(zhàn)指南
- 蘋果的產品設計之道:創(chuàng)建優(yōu)秀產品、服務和用戶體驗的七個原則
- 新一代SDN:VMware NSX 網絡原理與實踐
- Python 3 數(shù)據(jù)分析與機器學習實戰(zhàn)
- Java并發(fā)編程:核心方法與框架
- Mockito Essentials
- Shopify Application Development
- 算法超簡單:趣味游戲帶你輕松入門與實踐
- Python趣味創(chuàng)意編程
- 計算機常用算法與程序設計教程(第2版)
- HTML5+jQuery Mobile移動應用開發(fā)