This page describes the Angular documentation at a high level. If you're new to Angular, you may want to visit "Learning Angular" first.
本页是 Angular 文档的概述。 如果你刚接触 Angular,请先访问“学习 Angular”。
Themes
主题
The documentation is divided into major thematic sections, each a collection of pages devoted to that theme.
本文档分成几大主题区,每个区包含一组围绕自己主题的页面。
A first taste of Angular with zero installation. Run "Hello World" in an online code editor and start playing with live code. 零配置第一次尝试 Angular 在在线代码编辑器中运行 “Hello World”,并利用在线代码开始体验。 | |
Learn the Angular basics (you're already here!) like the setup for local development, displaying data and accepting user input, injecting application services into components, and building simple forms. 学习 Angular 基础知识(你已经在这儿了!),比如搭建本地开发环境、 显示数据和接受用户输入、注入应用程序服务到组件中, 以及构建简单表单。 | |
Authoritative details about each of the Angular libraries. 关于 Angular 库中每一个成员的详尽、权威的资料。 | |
A step-by-step, immersive approach to learning Angular that introduces the major features of Angular in an application context. 按部就班、沉浸式的 Angular 学习之旅,在应用场景中介绍了 Angular 的各个主要特性。 | |
In-depth analysis of Angular features and development practices. 深入分析 Angular 的特性和开发实践。 | |
Recipes for specific application challenges, mostly code snippets with a minimum of exposition. 一组解决实际应用中某些特定挑战的“菜谱”,大部分是代码片段随带少量的详细阐述。 |
A few early pages are written as tutorials and are clearly marked as such. The rest of the pages highlight key points in code rather than explain each step necessary to build the sample. You can always get the full source through the live links.
少量早期页面是作为教程来写的,并被清晰的标注出来。 其它页面的目的是展示代码中的关键点,而不是解释构建这个范例所需的每一个步骤。 可以通过在线例子的链接找到完整的源代码。
Code samples
代码例子
Each page includes code snippets from a sample application that accompanies the page. You can reuse these snippets in your applications.
每章都包含了该章附带例子应用的代码片段。可以在你的应用中重用这些代码片段。
Look for a link to a running version of that sample, often near the top of the page,
such as this
查找这些例子在线版本的链接,通常在页面的开头部分附近。
例如架构章的
Alternatively, you can run the example locally, next to those live-example
links you have a download link.
Just download, unzip, run npm install
to install the dependencies and run it with npm start
.
不过,你也可以在本地运行这个例子,你可以点击下载链接来下载。
只要下载、unzip、运行npm install
安装依赖,然后运行npm start
就可以了。
Reference pages
参考资料
The Cheat Sheet lists Angular syntax for common scenarios.
速查表列出了 Angular 在常见场景下的语法。
The Glossary defines terms that Angular developers should know.
词汇表定义了 Angular 开发人员需要知道的术语。
The Change Log announces what's new and changed in the documentation.
变更日志包含了文档新增与更新内容。
The API Reference is the authority on every public-facing member of the Angular libraries.
API 参考手册是关于 Angular 库中每一个公共成员的权威参考资料。
Feedback
反馈
We welcome feedback!
我们期待您的反馈!
Use the angular.io Github repository for documentation issues and pull requests.
到 angular.io Github 库提交文档相关的 issues 和 pull requests。
Use the Angular Github repository to report issues with Angular itself.
到 Angular Github 库报告与 Angular 本身相关的 issues。