angularjs - Angular Material - disable theme but use it only for spinner? -
i using angular material angular 1.*. have themeing disabled $mdthemingprovider.disabletheming();
. however, use progress spinner , broken without using angular's default theme. there way have themeing disabled have default theme applied spinner?
you can css - codepen
markup
<div ng-controller="appctrl" ng-cloak="" ng-app="myapp"> <md-button class="md-primary">hello</md-button> <md-progress-circular md-mode="indeterminate"></md-progress-circular> </div>
css
md-progress-circular path { stroke: rgb(63, 81, 181); }
js
angular.module('myapp',['ngmaterial']) .config(function ($mdthemingprovider) { $mdthemingprovider.disabletheming(); }) .controller('appctrl', function() { });
Comments
Post a Comment