Sha256: 13a8f0006e062d881d55697088eec91eb874ed26087cfe0ab01b393117ff04cb
Contents?: true
Size: 419 Bytes
Versions: 5
Compression:
Stored size: 419 Bytes
Contents
const ExpandBlock = (e) => { let ting = $(e.target), target = ting.parent().siblings('.area._page-artwork').children('.code-wrap'); if (target.css("display") == "none") { gsap.set(target,{display:open}); gsap.set(ting,{text:"Hide"}); } else { gsap.set(target,{clearProps:"display"}); gsap.set(ting,{text:"Show"}); } } $('.block._expand-block').click(function(e) { ExpandBlock(e); });
Version data entries
5 entries across 5 versions & 1 rubygems