Fork me on GitHub

editor/mathfield

Methods

nearestElementFromPoint(el: Element, x: number, y: number)private

Return a tuple of an element and a distance from point (x, y)

el Element
x number
y number
Source