See 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
_findElementWithCaret(el: DomElement)privateinner
Utility function that returns the element which has the caret
el
:
DomElement