Resolves either a string or HTML element to an element. Useful when an argument is either an HTML element or query.
resolveEl(`#someId`);resolveEl(someElement); Copy
resolveEl(`#someId`);resolveEl(someElement);
Resolves either a string or HTML element to an element. Useful when an argument is either an HTML element or query.