Sha256: 8ec92b59cef3ef1ab81e2241014d00f4617094235d4325787ed5a4ff47c6d7cb
Contents?: true
Size: 661 Bytes
Versions: 10
Compression:
Stored size: 661 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); 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
10 entries across 10 versions & 1 rubygems