position method
Set custom position for the tooltip. This option can be used to modify the tooltip position by returning object that has top and left.
Implementation
external dynamic /*{ top: number; left: number }*/ position(
dynamic data, num width, num height, dynamic element);