
Angular2
文章平均质量分 94
Angular2.x
pre_eminent
这个作者很懒,什么都没留下…
展开
-
Angular_01_入门_上篇_开发环境_CLI工具_Component
QuickStartGood tools make application development quicker and easier to maintain than if you did everything by hand.The Angular CLI is a command line interface tool that can create a project, add file...原创 2018-06-09 13:47:42 · 1048 阅读 · 0 评论 -
Angular_文档_06_管道_动画
PipesEvery application starts out with what seems like a simple task: get data, transform them, and show them to users. Getting data could be as simple as creating a local variable or as complex as st...原创 2018-06-18 18:13:37 · 634 阅读 · 0 评论 -
Angular_03_入门_下篇_HTTP
Angular2官方文档地址: https://angular.io/tutorial/toh-pt1由于内容太长,分为上中下三篇上篇已经介绍了1-5小点中篇从第6点 Services, 第7点Routing章节下篇为第8点 HTTPHTTPIn this tutorial, you'll add the following data persistence features with help...原创 2018-06-13 01:00:56 · 592 阅读 · 0 评论 -
Angular_文档_05_属性型指令_结构型指令
Attribute DirectivesAn Attribute directive changes the appearance or behavior of a DOM element.Try the Attribute Directive example / download example.Directives overviewThere are three kinds of direct...原创 2018-06-18 18:03:28 · 552 阅读 · 0 评论 -
Angular_文档_04_组件样式_自定义元素_动态组件
Component StylesAngular applications are styled with standard CSS. That means you can apply everything you know about CSS stylesheets, selectors, rules, and media queries directly to Angular applicati...原创 2018-06-18 17:54:08 · 1068 阅读 · 0 评论 -
Angular_文档_03_生命周期_组件交互
Lifecycle HooksA component has a lifecycle managed by Angular.Angular creates it, renders it, creates and renders its children, checks it when its data-bound properties change, and destroys it before ...原创 2018-06-18 17:45:45 · 904 阅读 · 0 评论 -
Angular_02_入门_中篇_Service_Routing
Angular2官方文档地址: https://angular.io/tutorial/toh-pt1由于内容太长,分为上下两篇上篇已经介绍了1-5小点下篇从第6点 Services章节开始ServicesThe Tour of Heroes HeroesComponent is currently getting and displaying fake data.After the refac...原创 2018-06-10 12:56:44 · 986 阅读 · 0 评论 -
Angular_文档_02_数据绑定_模板语法
Displaying DataYou can display data by binding controls in an HTML template to properties of an Angular component.In this page, you'll create a component with a list of heroes. You'll display the list...原创 2018-06-16 19:02:40 · 1500 阅读 · 0 评论 -
Angular_文档_01_Architecture
Architecture overviewAngular is a platform and framework for building client applications in HTML and TypeScript. Angular is itself written in TypeScript. It implements core and optional functionality...原创 2018-06-16 18:07:56 · 1158 阅读 · 0 评论 -
Angular_学习笔记_01
3天Angular课程 之 第1天 笔记1. 安装 Node官网下载,一路Next->2. 安装Angular-clisudo npm install -g @angular/cli3. ng new app-name4. 运行项目cd app-nameng serve --open5. 安装WebStorm当前Angular版本如下:组件相关内容图示:@NgModule({ dec...原创 2018-06-30 22:10:09 · 299 阅读 · 0 评论