Sha256: 2a23f0ac99d379f04bd9ee4b307c77a342e278a46b1cbdf3ee1475880418cfef
Contents?: true
Size: 477 Bytes
Versions: 27
Compression:
Stored size: 477 Bytes
Contents
const ExpandBlock = (e) => { let ting = $(e.target), target = ting.parent().siblings(Site.page.artwork).children(Site.code.wrap); if (target.css("display") == "none") { gsap.set(target,{ display : Config.display }); gsap.set(ting,{ text : "Hide" }); } else { gsap.set(target,{ clearProps : "display" }); gsap.set(ting,{ text : "Show" }); } } if (Config.style == "docs") { $(Site.code.expand).click(function(e) { ExpandBlock(e); }); }
Version data entries
27 entries across 27 versions & 1 rubygems