Sha256: 681cfa7246b7e844dffc899ff089b3a84468eb7ede6d33a2f51e0464799b571f
Contents?: true
Size: 699 Bytes
Versions: 2
Compression:
Stored size: 699 Bytes
Contents
Print.width = () => { var size = $(document)[0].documentElement.clientWidth, more = Site.desktop.width - size + "px", percent = (100/Site.desktop.width) * size + "%"; $(".width").html(more); console.log("printing"); gsap.set(Overlay.mobile.bar,{ width : percent }); } Check.width = () => { if (!Site.desktop.active) { gsap.set(".site",{ clearProps : "display" }); gsap.set(Overlay.mobile.screen,{ display : Config.display }); Print.width(); } else { gsap.set(Overlay.mobile.screen,{ clearProps : "display" }); gsap.set(".site",{ display : Config.display }); } } if (!Config.respond) { $(Check.width()); $(window).resize(Check.width); }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
futuro-1.1.0 | assets/js/footer/custom/2_Check.width.js |
futuro-1.0.9 | assets/js/footer/custom/2_Check.width.js |