码迷,mamicode.com
首页 >  
搜索关键字:angular2    ( 540个结果
Angular2学习笔记——路由器模型(Router)
Angular2以组件化的视角来看待web应用,使用Angular2开发的web应用,就是一棵组件树。组件大致分为两类:一类是如list、table这种通放之四海而皆准的通用组件,一类是专为业务开发的业务组件。实际开发中大部分时间我们都需要处理业务组件。对于SPA应用来说,一个通用的问题就是如何控制 ...
分类:其他好文   时间:2016-09-27 09:13:18    阅读次数:501
[Angular2 Router] Programmatic Router Navigation via the Router API - Relative And Absolute Router Navigation
In this tutorial we are going to learn how to navigate programmatically (or imperatively) by using the Router API. We are going to learn how to use th ...
分类:Windows程序   时间:2016-09-27 01:44:40    阅读次数:280
[Angular2 Router] Configuring a Home Route and Fallback Route - Learn An Essential Routing Concept
In this tutorial we are going to learn how to configure the Angular 2 router to cover some commonly used routing scenarios: what if the user goes to t ...
分类:其他好文   时间:2016-09-26 21:32:08    阅读次数:132
[Angular2 Router] Load Data Based on Angular 2 Route Params
You can load resource based on the url using the a combination of ActivatedRouteand Angular 2’s Http service. Since the params and Http are both strea ...
分类:其他好文   时间:2016-09-26 17:53:06    阅读次数:161
[Angular2 Router] Understand the Angular 2 Base href Requirement
The <base href=”/”/> you define will determine how all other assets you plan on loading treat their relative paths. While you’ll most often use / as y ...
分类:Web程序   时间:2016-09-26 15:52:45    阅读次数:158
[Angular2 Router] Use Params from Angular 2 Routes Inside of Components
Angular 2’s ActivatedRoute allows you to get the details of the current route into your components. Params on the ActivatedRoute are provided as strea ...
分类:其他好文   时间:2016-09-26 06:30:03    阅读次数:169
[Angular2 Router] Style the Active Angular 2 Navigation Element with routerLinkActive
You can easily show the user which route they are on using Angular 2’s routerLinkActive. Whenever a route matches the routerLink defined on the elemen ...
分类:其他好文   时间:2016-09-25 22:28:28    阅读次数:594
[Angular2 Router] Lazy Load Angular 2 Modules with the Router
Angular 2 lazy loading is a core feature of Angular 2. Lazy loading allows your application to start up faster because it only needs to use the main A ...
分类:其他好文   时间:2016-09-25 22:11:00    阅读次数:237
[Angular2 Router] Build Angular 2 Navigation with routerLink
Angular 2 navigation is configured using the routerLink directive. The routerLink directive behaves like an href’s you are familiar with, but it hooks ...
分类:其他好文   时间:2016-09-25 06:11:01    阅读次数:168
angular2开发01
// <![CDATA[ /* @licstart The following is the entire license notice for the JavaScript code in this tag. Copyright (C) 2012-2013 Free Software Founda ...
分类:其他好文   时间:2016-09-24 23:38:36    阅读次数:395
540条   上一页 1 ... 40 41 42 43 44 ... 54 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!