- 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.
推薦閱讀
- 精通Scrapy網絡爬蟲
- STM32F0實戰:基于HAL庫開發
- Hands-On RESTful Web Services with Go
- Serverless架構
- 名師講壇:Spring實戰開發(Redis+SpringDataJPA+SpringMVC+SpringSecurity)
- SAP BusinessObjects Dashboards 4.1 Cookbook
- Unreal Engine 4 Shaders and Effects Cookbook
- Python項目實戰從入門到精通
- Spring MVC+MyBatis開發從入門到項目實踐(超值版)
- 自學Python:編程基礎、科學計算及數據分析(第2版)
- Unity Character Animation with Mecanim
- Data Science Algorithms in a Week
- IBM RUP參考與認證指南
- Getting Started with the Lazarus IDE
- C# 10核心技術指南