File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change
1
+ import { Routes } from '@angular/router' ;
2
+
3
+ import { SunnyTabContent , RainyTabContent , FoggyTabContent } from './tabs-a11y' ;
4
+
5
+ export const TABS_DEMO_ROUTES : Routes = [
6
+ { path : '' , redirectTo : 'sunny-tab' , pathMatch : 'full' } ,
7
+ { path : 'sunny-tab' , component : SunnyTabContent } ,
8
+ { path : 'rainy-tab' , component : RainyTabContent } ,
9
+ { path : 'foggy-tab' , component : FoggyTabContent } ,
10
+ ] ;
Original file line number Diff line number Diff line change 1
1
import { Component } from '@angular/core' ;
2
- import { Observable } from 'rxjs/Observable' ;
3
2
4
3
@Component ( {
5
4
moduleId : module . id ,
@@ -20,7 +19,7 @@ export class TabsAccessibilityDemo {
20
19
{
21
20
label : 'German Shepherd' ,
22
21
content : `The German Shepherd is a breed of medium to large-sized working dog that originated
23
- in Germany. The breed's officially recognized name is German Shepherd Dog in the
22
+ in Germany. The breed's officially recognized name is German Shepherd Dog in the
24
23
English language. The breed is also known as the Alsatian in Britain and Ireland.`
25
24
} , {
26
25
label : 'Labrador Retriever' ,
@@ -31,11 +30,11 @@ export class TabsAccessibilityDemo {
31
30
label : 'Rottweiler' ,
32
31
disabled : true ,
33
32
content : `The Rottweiler is a breed of domestic dog, regarded as medium-to-large or large.
34
- The dogs were known in German as Rottweiler Metzgerhund, meaning Rottweil butchers' dogs,
33
+ The dogs were known in German as Rottweiler Metzgerhund, meaning Rottweil butchers' dogs,
35
34
because their main use was to ...`
36
35
} , {
37
36
label : 'Beagle' ,
38
- content : `The Beagle is a breed of small hound, similar in appearance to the much larger
37
+ content : `The Beagle is a breed of small hound, similar in appearance to the much larger
39
38
foxhound. The beagle is a scent hound, developed primarily for hunting hare.`
40
39
} ,
41
40
] ;
You can’t perform that action at this time.
0 commit comments