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.

6 lines
1005 B

7 years ago
  1. /*!
  2. * Angular Material Design
  3. * https://github.com/angular/material
  4. * @license MIT
  5. * v1.1.2-master-a9ba340
  6. */
  7. !function(e,t,i){"use strict";function n(e,i,n,d,r){return{restrict:"E",replace:!0,transclude:!0,template:'<div class="md-subheader _md"> <div class="md-subheader-inner"> <div class="md-subheader-content"></div> </div></div>',link:function(a,c,s,m,u){function o(e){return t.element(e[0].querySelector(".md-subheader-content"))}n(c),c.addClass("_md"),d.prefixer().removeAttribute(c,"ng-repeat");var l=c[0].outerHTML;s.$set("role","heading"),r.expect(c,"aria-level","2"),u(a,function(e){o(c).append(e)}),c.hasClass("md-no-sticky")||u(a,function(t){var n=i('<div class="md-subheader-wrapper" aria-hidden="true">'+l+"</div>")(a);d.nextTick(function(){o(n).append(t)}),e(a,c,n)})}}}n.$inject=["$mdSticky","$compile","$mdTheming","$mdUtil","$mdAria"],t.module("material.components.subheader",["material.core","material.components.sticky"]).directive("mdSubheader",n)}(window,window.angular);