API Reference

Provider to configure the $mdTheming service.

Methods


  • $mdThemingProvider.setDefaultTheme(themeName);

    Parameter Type Description
    * themeName string string

    Default theme name to be applied to elements. Default value is default.

  • $mdThemingProvider.alwaysWatchTheme(watch);

    Parameter Type Description
    * watch boolean boolean

    Whether or not to always watch themes for changes and re-apply classes when they change. Default is false. Enabling can reduce performance.