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
920 B

  1. /*!
  2. * Angular Material Design
  3. * https://github.com/angular/material
  4. * @license MIT
  5. * v1.1.0-master-2b98560
  6. */
  7. !function(e,n,t){"use strict";function d(e,t,d,i){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(r,a,c,s,m){function u(e){return n.element(e[0].querySelector(".md-subheader-content"))}d(a),a.addClass("_md"),i.prefixer().removeAttribute(a,"ng-repeat");var o=a[0].outerHTML;m(r,function(e){u(a).append(e)}),a.hasClass("md-no-sticky")||m(r,function(n){var d=t('<div class="md-subheader-wrapper">'+o+"</div>")(r);i.nextTick(function(){u(d).append(n)}),e(r,a,d)})}}}d.$inject=["$mdSticky","$compile","$mdTheming","$mdUtil"],n.module("material.components.subheader",["material.core","material.components.sticky"]).directive("mdSubheader",d)}(window,window.angular);