d37820c1a174955b3b14d7dddf87e6f12ac7ae81
[vnfsdk/refrepo.git] /
1 /*!
2  * Angular Material Design
3  * https://github.com/angular/material
4  * @license MIT
5  * v1.1.3
6  */
7 goog.provide('ngmaterial.components.divider');
8 goog.require('ngmaterial.core');
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 /**
21  * @ngdoc directive
22  * @name mdDivider
23  * @module material.components.divider
24  * @restrict E
25  *
26  * @description
27  * 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.
28  *
29  * @param {boolean=} md-inset Add this attribute to activate the inset divider style.
30  * @usage
31  * <hljs lang="html">
32  * <md-divider></md-divider>
33  *
34  * <md-divider md-inset></md-divider>
35  * </hljs>
36  *
37  */
38 function MdDividerDirective($mdTheming) {
39   return {
40     restrict: 'E',
41     link: $mdTheming
42   };
43 }
44
45 ngmaterial.components.divider = angular.module("material.components.divider");