# angular_study **Repository Path**: program_bell/angular_study ## Basic Information - **Project Name**: angular_study - **Description**: angular学习:https://www.angular.cn/guide/forms - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-07-18 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # angular_study #### 项目介绍 angular学习:https://www.angular.cn/guide/forms #### 软件架构 软件架构说明 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. 当在表单中使用 [(ngModel)] 时,必须要定义 name 属性。 2. Angular可用的:[Validators](https://www.angular.cn/api/forms/Validators) 3. FormControl, FormGroup, and FormArray的状态API,[https://www.angular.cn/api/forms/AbstractControl]() 4. 在 import 语句之后,是一个带有 @NgModule 装饰器的类。 @NgModule 装饰器表明 AppModule 是一个 NgModule 类。 @NgModule 获取一个元数据对象,它会告诉 Angular 如何编译和启动本应用。 declarations —— 该应用所拥有的组件。 declarations: [ YourComponent, YourPipe, YourDirective ], imports —— 导入 BrowserModule 以获取浏览器特有的服务,比如 DOM 渲染、无害化处理和位置(location)。 providers —— 各种服务提供商。 bootstrap —— 根组件,Angular 创建它并插入 index.html 宿主页面。 默认的 CLI 应用只有一个组件 AppComponent,所以它会同时出现在 declarations 和 bootstrap 数组中。 5. [常用模块详见](https://www.angular.cn/guide/frequent-ngmodules) #### 参与贡献 1. Fork 本项目 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [http://git.mydoc.io/](http://git.mydoc.io/) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)