source: trip-planner-front/node_modules/angular-material/modules/closure/divider/divider.js@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*!
2 * AngularJS Material Design
3 * https://github.com/angular/material
4 * @license MIT
5 * v1.2.3
6 */
7goog.provide('ngmaterial.components.divider');
8goog.require('ngmaterial.core');
9/**
10 * @ngdoc module
11 * @name material.components.divider
12 * @description Divider module!
13 */
14MdDividerDirective['$inject'] = ["$mdTheming"];
15angular.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 */
38function MdDividerDirective($mdTheming) {
39 return {
40 restrict: 'E',
41 link: $mdTheming
42 };
43}
44
45ngmaterial.components.divider = angular.module("material.components.divider");
Note: See TracBrowser for help on using the repository browser.