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 2424 < i class ="material-icons " (click) ="start.open() "> menu</ i >
2525 < div class ="demo-toolbar ">
2626 < 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 ">
2828 {{root.dir.toUpperCase()}}
2929 </ button >
3030 </ div >
3131 </ md-toolbar >
3232
33-
3433 < div #root ="$implicit " dir ="ltr " class ="demo-content ">
3534 < router-outlet > </ router-outlet >
3635 </ div >
Original file line number Diff line number Diff line change 1111 }
1212
1313 md-toolbar {
14-
1514 i {
1615 padding : 20px ;
1716 cursor : pointer ;
2221 justify-content : space-between ;
2322 width : 100% ;
2423 }
24+
25+ button {
26+ color : white ;
27+ }
2528 }
2629
2730 h1 {
Original file line number Diff line number Diff line change @@ -22,7 +22,10 @@ import {GesturesDemo} from './gestures/gestures-demo';
2222
2323@Component ( {
2424 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+ `
2629} )
2730export class Home { }
2831
Original file line number Diff line number Diff line change 22< html >
33< head >
44 < meta charset ="utf-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
56 < title > Material2</ title >
67 < base href ="/ ">
78 < script src ="vendor/es6-shim/es6-shim.js "> </ script >
You can’t perform that action at this time.
0 commit comments