Returns a {x,y} Point on a cardinal position of element.
// Top edge, middle horizontal positionconst pos = cardinalPosition(`#blah`, `n`); Copy
// Top edge, middle horizontal positionconst pos = cardinalPosition(`#blah`, `n`);
Returns a {x,y} Point on a cardinal position of element.