File tree Expand file tree Collapse file tree 3 files changed +53
-0
lines changed Expand file tree Collapse file tree 3 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ < div class ="col-xs-6 ">
2+ < h4 > Flat Buttons</ h4 >
3+ < a href ="" class ="btn " abm-component > < code > btn</ code > only</ a >
4+ < a href ="" class ="btn active " abm-component > < code > .active</ code > </ a >
5+ < a href ="" class ="btn btn-default " abm-component > Default</ a >
6+ < a href ="" class ="btn btn-primary " abm-component > Primary</ a >
7+ < a href ="" class ="btn btn-success " abm-component > Success</ a >
8+ < a href ="" class ="btn btn-info " abm-component > Info</ a >
9+ < a href ="" class ="btn btn-warning " abm-component > Warning</ a >
10+ < a href ="" class ="btn btn-danger " abm-component > Danger</ a >
11+ < a href ="" class ="btn btn-link " abm-component > Link</ a >
12+ </ div >
13+ < div class ="col-xs-6 ">
14+ < h4 > Raised Buttons</ h4 >
15+ < a href ="" class ="btn btn-raised active " abm-component > < code > .active</ code > </ a >
16+ < a href ="" class ="btn btn-raised btn-default " abm-component > Default</ a >
17+ < a href ="" class ="btn btn-raised btn-primary " abm-component > Primary</ a >
18+ < a href ="" class ="btn btn-raised btn-success " abm-component > Success</ a >
19+ < a href ="" class ="btn btn-raised btn-info " abm-component > Info</ a >
20+ < a href ="" class ="btn btn-raised btn-warning " abm-component > Warning</ a >
21+ < a href ="" class ="btn btn-raised btn-danger " abm-component > Danger</ a >
22+ < a href ="" class ="btn btn-raised btn-link " abm-component > Link</ a >
23+ </ div >
Original file line number Diff line number Diff line change 1+ angular . module ( 'angularBootstrapMaterialDocs' ) . controller ( 'ButtonsCtrl' , function ( $scope ) {
2+ $scope . singleModel = 1 ;
3+
4+ $scope . radioModel = 'Middle' ;
5+
6+ $scope . checkModel = {
7+ left : false ,
8+ middle : true ,
9+ right : false
10+ } ;
11+
12+ $scope . checkResults = [ ] ;
13+
14+ $scope . $watchCollection ( 'checkModel' , function ( ) {
15+ $scope . checkResults = [ ] ;
16+ angular . forEach ( $scope . checkModel , function ( value , key ) {
17+ if ( value ) {
18+ $scope . checkResults . push ( key ) ;
19+ }
20+ } ) ;
21+ } ) ;
22+ } ) ;
Original file line number Diff line number Diff line change @@ -191,6 +191,13 @@ <h3>Navbar</h3>
191191 < ng-include src ="'navbar/demo.html' "> </ ng-include >
192192 </ div >
193193 </ div >
194+ < div class ="row component ">
195+ < div class ="col-xs-12 ">
196+ < h3 > Buttons</ h3 >
197+ < ng-include src ="'buttons/demo.html' "> </ ng-include >
198+ < p > For more visit Bootstrap material design documentation for < a href ="http://fezvrasta.github.io/bootstrap-material-design/bootstrap-elements.html#buttons "> buttons </ a > </ p >
199+ </ div >
200+ </ div >
194201 < div class ="row component ">
195202 < div class ="col-xs-12 ">
196203 < h3 > Tabs</ h3 >
@@ -263,6 +270,7 @@ <h3>Toggle Button</h3>
263270 < script src ="../dist/angular-bootstrap-material.js "> </ script >
264271 < script src ="index.js "> </ script >
265272 < script src ="alert/demo.js "> </ script >
273+ < script src ="buttons/demo.js "> </ script >
266274 < script src ="dropdown/demo.js "> </ script >
267275 < script src ="modal/demo.js "> </ script >
268276 < script src ="pager/demo.js "> </ script >
You can’t perform that action at this time.
0 commit comments