share-menu
Version:
A complete and simple to use share menu.
3 lines (2 loc) • 341 B
JavaScript
const l=(l,n,o)=>{null==o?l.removeAttribute(n):l.setAttribute(n,o)},n=(l,n,o)=>{(null==o?void 0:o.length)?l.setAttribute(n,o.join(",")):l.removeAttribute(n)},o=(l,n,o)=>{o?l.setAttribute(n,""):l.removeAttribute(n)};export{n as updateArrayAttribute,o as updateBooleanAttribute,l as updateStringAttribute};
//# sourceMappingURL=helpers.js.map