UNPKG

angular-material

Version:

**[Support for legacy AngularJS ended on January 1st, 2022](https://goo.gle/angularjs-end-of-life). [See `@angular/core` for the actively supported Angular](https://npmjs.com/@angular/core).**

46 lines (43 loc) 1.07 kB
/*! * AngularJS Material Design * https://github.com/angular/material * @license MIT * v1.2.5 */ (function( window, angular, undefined ){ "use strict"; /** * @ngdoc module * @name material.components.divider * @description Divider module! */ MdDividerDirective['$inject'] = ["$mdTheming"]; angular.module('material.components.divider', [ 'material.core' ]) .directive('mdDivider', MdDividerDirective); /** * @ngdoc directive * @name mdDivider * @module material.components.divider * @restrict E * * @description * 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. * * @param {boolean=} md-inset Add this attribute to activate the inset divider style. * @usage * <hljs lang="html"> * <md-divider></md-divider> * * <md-divider md-inset></md-divider> * </hljs> * */ function MdDividerDirective($mdTheming) { return { restrict: 'E', link: $mdTheming }; } })(window, window.angular);