typedef js.html.PositionErrorCallback = PositionError ->Bool

Available on js