34 Star 97 Fork 61

LearnAngular / learn-component

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

learn-component

此工程全面示范了 Angualr 组件的所有技术细节。

分支上的内容:

  1. master 分支,无内容,只是一个空的分支
  2. template 分支,用12个例子全面示范Angular的模板语法
  3. communication 分支,示范组件之间的3种典型的通讯方式
  4. lifecycle 分支,示范组件的生命周期玩法,用13个例子详细演示8个生命周期的用法和注意点,同时示范ChangeDetectionStrategy.OnPush的用法
  5. animation 分支,示范Angular动画的基本用法,推荐一个写好的开源动画库
  6. dynamic-component 分支,示范动态组件的各种玩法
  7. shadowdom 分支,示范Angular渲染组件的3种方式和影子DOM的玩法
  8. ng-content 分支,示范内容投影用法
  9. projection 分支,示范组件投影的各种玩法
  10. contentchild 分支,示范ContentChild和ContentChildren的玩法
  11. viewchild 分支,示范ViewChild和ViewChildren的玩法

备注

learn-anguar-* 是一个Angular系列教学项目用的实例源代码,一共分成了 16 个项目,共 150 个分支。

The MIT License (MIT) Copyright (c) 2017 大漠穷秋 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Angular组件基础内容 展开 收起
TypeScript 等 4 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
TypeScript
1
https://gitee.com/learn-angular-series/learn-component.git
git@gitee.com:learn-angular-series/learn-component.git
learn-angular-series
learn-component
learn-component
master

搜索帮助