- AngularJS Directives Cookbook
- Fernando Monteiro
- 111字
- 2021-07-30 10:09:03
Introduction
Directives make up an important part in AngularJS applications with AngularJS. They manipulate the Document Object Model (DOM), route events to event handler functions, and much more. Through the use of custom directives, we can build applications with a rich user interface.
Although the built-in directives such as ng-repeat
, ng-show
, and ng-hide
cover many different scenarios, you will often need to create application-specific directives. This chapter will give you an overview on how to create and customize simple AngularJS directives, with the best practices in mind.
We assume that you already know what directives are, so let's check how to create and customize some simple directives to manipulate the DOM.
推薦閱讀
- Node.js 10實戰
- Interactive Data Visualization with Python
- R語言編程指南
- 數據結構簡明教程(第2版)微課版
- Python機器學習編程與實戰
- Visual C++應用開發
- Mastering RStudio:Develop,Communicate,and Collaborate with R
- HTML5+CSS3網頁設計
- Python完全自學教程
- 0 bug:C/C++商用工程之道
- Arduino Wearable Projects
- Application Development with Swift
- Mastering Android Studio 3
- Spring Data JPA從入門到精通
- 算法超簡單:趣味游戲帶你輕松入門與實踐