These docs are for an old release. Info on upgrading to v4
edit doc

selectAllow 3.0

Exact programmatic control over where the user can select.

function(selectInfo)

This callback will be called for every new potential selection as the user is dragging.

The callback function will receive information about where the user is attempting to select (selectInfo) and must return either true or false.

The selectInfo object will have the following properties: