- 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.
推薦閱讀
- 一步一步學Spring Boot 2:微服務項目實戰
- PHP基礎案例教程
- Animate CC二維動畫設計與制作(微課版)
- Scratch真好玩:教小孩學編程
- Drupal 8 Module Development
- 飛槳PaddlePaddle深度學習實戰
- Apache Mahout Clustering Designs
- Highcharts Cookbook
- 深入理解Elasticsearch(原書第3版)
- SQL Server 2008實用教程(第3版)
- C語言編程魔法書:基于C11標準
- Mathematica Data Visualization
- 語義Web編程
- Scratch編程入門與算法進階(第2版)
- Learning Ext JS(Fourth Edition)