You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.0 KiB

7 years ago
  1. /*!
  2. * Angular Material Design
  3. * https://github.com/angular/material
  4. * @license MIT
  5. * v1.1.3
  6. */
  7. (function( window, angular, undefined ){
  8. "use strict";
  9. /**
  10. * @ngdoc module
  11. * @name material.components.divider
  12. * @description Divider module!
  13. */
  14. MdDividerDirective['$inject'] = ["$mdTheming"];
  15. angular.module('material.components.divider', [
  16. 'material.core'
  17. ])
  18. .directive('mdDivider', MdDividerDirective);
  19. /**
  20. * @ngdoc directive
  21. * @name mdDivider
  22. * @module material.components.divider
  23. * @restrict E
  24. *
  25. * @description
  26. * Dividers group and separate content within lists and page layouts using strong visual and spatial distinctions. This divider is a thin rule, lightweight enough to not distract the user from content.
  27. *
  28. * @param {boolean=} md-inset Add this attribute to activate the inset divider style.
  29. * @usage
  30. * <hljs lang="html">
  31. * <md-divider></md-divider>
  32. *
  33. * <md-divider md-inset></md-divider>
  34. * </hljs>
  35. *
  36. */
  37. function MdDividerDirective($mdTheming) {
  38. return {
  39. restrict: 'E',
  40. link: $mdTheming
  41. };
  42. }
  43. })(window, window.angular);