Нема описа
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.

angular.headroom.min.js 650B

1234567
  1. /*!
  2. * headroom.js v0.9.4 - Give your page some headroom. Hide your header until you need it
  3. * Copyright (c) 2017 Nick Williams - http://wicky.nillia.ms/headroom.js
  4. * License: MIT
  5. */
  6. !function(a,b){function c(a){return{scope:{tolerance:"=",offset:"=",classes:"=",scroller:"@"},link:function(b,c){var d={},e=a.options;for(var f in e)d[f]=b[f]||e[f];b.scroller&&(d.scroller=document.querySelector(b.scroller));var g=new a(c[0],d).init();b.$on("$destroy",function(){g.destroy()})}}}function d(){return b}a&&(c.$inject=["HeadroomService"],a.module("headroom",[]).directive("headroom",c).factory("HeadroomService",d))}(window.angular,window.Headroom);