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.0 KB
|
Line | |
---|
1 | /*!
|
---|
2 | * AngularJS Material Design
|
---|
3 | * https://github.com/angular/material
|
---|
4 | * @license MIT
|
---|
5 | * v1.2.3
|
---|
6 | */
|
---|
7 | (function( window, angular, undefined ){
|
---|
8 | "use strict";
|
---|
9 |
|
---|
10 | /**
|
---|
11 | * @ngdoc module
|
---|
12 | * @name material.components.divider
|
---|
13 | * @description Divider module!
|
---|
14 | */
|
---|
15 | MdDividerDirective['$inject'] = ["$mdTheming"];
|
---|
16 | angular.module('material.components.divider', [
|
---|
17 | 'material.core'
|
---|
18 | ])
|
---|
19 | .directive('mdDivider', MdDividerDirective);
|
---|
20 |
|
---|
21 | /**
|
---|
22 | * @ngdoc directive
|
---|
23 | * @name mdDivider
|
---|
24 | * @module material.components.divider
|
---|
25 | * @restrict E
|
---|
26 | *
|
---|
27 | * @description
|
---|
28 | * 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.
|
---|
29 | *
|
---|
30 | * @param {boolean=} md-inset Add this attribute to activate the inset divider style.
|
---|
31 | * @usage
|
---|
32 | * <hljs lang="html">
|
---|
33 | * <md-divider></md-divider>
|
---|
34 | *
|
---|
35 | * <md-divider md-inset></md-divider>
|
---|
36 | * </hljs>
|
---|
37 | *
|
---|
38 | */
|
---|
39 | function MdDividerDirective($mdTheming) {
|
---|
40 | return {
|
---|
41 | restrict: 'E',
|
---|
42 | link: $mdTheming
|
---|
43 | };
|
---|
44 | }
|
---|
45 |
|
---|
46 | })(window, window.angular); |
---|
Note:
See
TracBrowser
for help on using the repository browser.