1 Star 0 Fork 61

zclhit / learn-component

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

learn-component

这是一个教学项目,全面示范了Angualr组件的所有技术细节。

分支上的内容:

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

备注

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

联系我

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
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

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

搜索帮助

14c37bed 8189591 565d56ea 8189591