gwt.material.design.addins.client.waterfall.resources.js.waterfall.min.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gwt-material-addins Show documentation
Show all versions of gwt-material-addins Show documentation
Extra Components of GWT Material Framework
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)}