gwt.material.design.addins.client.waterfall.resources.js.waterfall.min.js Maven / Gradle / Ivy
function initWaterfall(a,d,e,n){function s(a){window.pageYOffset>n?t!==!0&&($("nav").removeClass("z-depth-0"),$("nav").addClass("z-depth-1"),t=!0):t===!0&&($("nav").removeClass("z-depth-1"),$("nav").addClass("z-depth-0"),t=!1),window.pageYOffset>1?(i.add(e),i.fire()):(i.add(d),i.fire())}$("nav").pushpin({top:a}),$("nav").addClass("z-depth-0");var t,i=$.Callbacks();window.addEventListener("scroll",s,!1)}