1 Star 0 Fork 61

lixu / learn-component

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

The learn-* series projects are designed for Angular beginners in Chinese, please don't use these codes in your prodution.

LearnComponent

这是一个教学项目,全面示范了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的玩法

github上的链接列表

gitee上的链接列表

网络原因,国内用户推荐使用gitee上的代码,你懂的。

如果你需要一个更复杂、更完整一点的例子,请试试OpenWMS这个模板项目:https://gitee.com/mumu-osc/OpenWMS-Frontend

关于Angular的更多资源、小技巧、文章等,请点这里:http://www.ngfans.net/

在线交流QQ群

Angular-1区-丝绸之路:286047042(满)

Angular-2区-敦煌:139357161(满)

Angular-3区-玉门关:473129930(满)

Angular-4区-河西走廊:483016484(满)

Angular-5区-楼兰:604253120(将满)

Angular-6区-凉州:124641447(将满)

脚本娃娃-桃花岛-83163037(将满)

如果您有Angular相关的问题需要讨论,或者单纯想跟我Say Hello,请加上面几个扣扣群。注意,我每天都会收到大量的求助消息,真的有点忙,所以请您优先在扣扣群里面讨论问题。

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/goStu/learn-component.git
git@gitee.com:goStu/learn-component.git
goStu
learn-component
learn-component
master

搜索帮助

14c37bed 8189591 565d56ea 8189591