File tree Expand file tree Collapse file tree 6 files changed +27
-2
lines changed Expand file tree Collapse file tree 6 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import {BasicTabs} from './tabs/tabs-e2e';
11
11
import { DialogE2E , TestDialog } from './dialog/dialog-e2e' ;
12
12
import { GridListE2E } from './grid-list/grid-list-e2e' ;
13
13
import { ListE2E } from './list/list-e2e' ;
14
+ import { ProgressBarE2E } from './progress-bar/progress-bar-e2e' ;
14
15
import { MaterialModule } from '@angular/material' ;
15
16
import { E2E_APP_ROUTES } from './e2e-app/routes' ;
16
17
@@ -34,6 +35,7 @@ import {E2E_APP_ROUTES} from './e2e-app/routes';
34
35
TestDialog ,
35
36
GridListE2E ,
36
37
ListE2E ,
38
+ ProgressBarE2E ,
37
39
] ,
38
40
bootstrap : [ E2EApp ] ,
39
41
providers : [
Original file line number Diff line number Diff line change 5
5
< a md-list-item [routerLink] ="['icon'] "> Icon</ a >
6
6
< a md-list-item [routerLink] ="['list'] "> List</ a >
7
7
< a md-list-item [routerLink] ="['menu'] "> Menu</ a >
8
+ < a md-list-item [routerLink] ="['progress-bar'] "> Progress bar</ a >
8
9
< a md-list-item [routerLink] ="['radio'] "> Radios</ a >
9
10
< a md-list-item [routerLink] ="['tabs'] "> Tabs</ a >
10
11
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import {SimpleCheckboxes} from '../checkbox/checkbox-e2e';
9
9
import { DialogE2E } from '../dialog/dialog-e2e' ;
10
10
import { GridListE2E } from '../grid-list/grid-list-e2e' ;
11
11
import { ListE2E } from '../list/list-e2e' ;
12
+ import { ProgressBarE2E } from '../progress-bar/progress-bar-e2e' ;
12
13
13
14
export const E2E_APP_ROUTES : Routes = [
14
15
{ path : '' , component : Home } ,
@@ -21,4 +22,5 @@ export const E2E_APP_ROUTES: Routes = [
21
22
{ path : 'dialog' , component : DialogE2E } ,
22
23
{ path : 'grid-list' , component : GridListE2E } ,
23
24
{ path : 'list' , component : ListE2E } ,
25
+ { path : 'progress-bar' , component : ProgressBarE2E } ,
24
26
] ;
Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ import {Component} from '@angular/core';
12
12
}
13
13
14
14
.bottom-row {
15
- position: absolute;
16
- top: 200px;
15
+ margin-top: 5px;
17
16
}
18
17
` ]
19
18
} )
Original file line number Diff line number Diff line change
1
+ < md-progress-bar mode ="determinate " [value] ="determinateValue "> </ md-progress-bar >
2
+ < md-progress-bar mode ="buffer " [value] ="bufferValue "> </ md-progress-bar >
3
+ < md-progress-bar mode ="query "> </ md-progress-bar >
4
+ < md-progress-bar mode ="indeterminate "> </ md-progress-bar >
Original file line number Diff line number Diff line change
1
+ import { Component } from '@angular/core' ;
2
+
3
+
4
+ @Component ( {
5
+ moduleId : module . id ,
6
+ selector : 'progress-bar-e2e' ,
7
+ templateUrl : 'progress-bar-e2e.html' ,
8
+ styles : [ `
9
+ md-progress-bar {
10
+ margin-bottom: 10px;
11
+ }
12
+ ` ]
13
+ } )
14
+ export class ProgressBarE2E {
15
+ determinateValue : number = 57 ;
16
+ bufferValue : number = 35 ;
17
+ }
You can’t perform that action at this time.
0 commit comments