File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 24
24
< i class ="material-icons " (click) ="start.open() "> menu</ i >
25
25
< div class ="demo-toolbar ">
26
26
< h1 > Angular Material 2 Demos</ h1 >
27
- < button md-raised- button (click) ="root.dir = (root.dir == 'rtl' ? 'ltr' : 'rtl') ">
27
+ < button md-button (click) ="root.dir = (root.dir == 'rtl' ? 'ltr' : 'rtl') " title =" Toggle between RTL and LTR ">
28
28
{{root.dir.toUpperCase()}}
29
29
</ button >
30
30
</ div >
31
31
</ md-toolbar >
32
32
33
-
34
33
< div #root ="$implicit " dir ="ltr " class ="demo-content ">
35
34
< router-outlet > </ router-outlet >
36
35
</ div >
Original file line number Diff line number Diff line change 11
11
}
12
12
13
13
md-toolbar {
14
-
15
14
i {
16
15
padding : 20px ;
17
16
cursor : pointer ;
22
21
justify-content : space-between ;
23
22
width : 100% ;
24
23
}
24
+
25
+ button {
26
+ color : white ;
27
+ }
25
28
}
26
29
27
30
h1 {
Original file line number Diff line number Diff line change @@ -22,7 +22,10 @@ import {GesturesDemo} from './gestures/gestures-demo';
22
22
23
23
@Component ( {
24
24
selector : 'home' ,
25
- template : ''
25
+ template : `
26
+ <p>Welcome to the development demos for Angular Material 2!</p>
27
+ <p>Open the sidenav to select a demo. </p>
28
+ `
26
29
} )
27
30
export class Home { }
28
31
Original file line number Diff line number Diff line change 2
2
< html >
3
3
< head >
4
4
< meta charset ="utf-8 ">
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
5
6
< title > Material2</ title >
6
7
< base href ="/ ">
7
8
< script src ="vendor/es6-shim/es6-shim.js "> </ script >
You can’t perform that action at this time.
0 commit comments