2024년에 주목해야할 앱 스토어 최적화 트렌드는 무엇이 있을까요? ASO와 AI는 어떤 상관성을 가지고 있을까요? 지금 콘텐츠를 확인하여 앞으로 앱 마케팅 …
is.hasClass("notBottom")){this.addClass("notBottom");this.removeClass("bottom");if (this.onNotBottom){this.onNotBottom.call(this);}}},shouldUnpin:function(details){var scrollingDown = details.direction === "down";return scrollingDown && !details.top && details.toleranceExceeded;},shouldPin:function(details){var scrollingUp = details.direction === "up";return (scrollingUp && details.toleranceExceeded) || details.top;},addClass:function(className){this.elem.classList.add.apply( this.elem.classList,this.classes[className].split(" ") );},removeClass:function(className){this.elem.classList.remove.apply( this.elem.classList,this.classes[className].split(" ") );},hasClass:function(className){return this.classes[className].split(" ").every(function(cls){return this.classList.contains(cls);},this.elem);},update:function(details){if (details.isOutOfBounds){return;}if (this.frozen === true){return;}if (details.top){this.top();}else{this.notTop();}if (details.bottom){this.bottom();}else{this.notBottom();}if (this.shouldUnpin(details)){this.unpin();}else if (this.shouldPin(details)){this.pin();}}};Headroom.options ={tolerance:{up:0,down:0},offset:0,scroller:isBrowser() ? window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}};Headroom.cutsTheMustard = isSupported();return Headroom;}));if(Headroom.cutsTheMustard) { let headroomElements = document.querySelectorAll(".js-headroom"); headroomElements.forEach(function(element) { let headroom = new Headroom(element); headroom.init(); }); }