UNPKG

@flexilla/utilities

Version:

Utilities package for flexilla library

2 lines (1 loc) 362 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=(t,e=document.body)=>e.querySelector(t),d=(t,e=document.body)=>{const c=r(t,e);return Array.from(c).find(n=>n.parentElement===e)},r=(t,e=document.body)=>Array.from(e.querySelectorAll(t)),s=t=>typeof t=="string"?o(t):t;exports.$=o;exports.$$=r;exports.$d=d;exports.$getEl=s;