Returns an event handler function that can be used to resize the header. It can be used as an:
onMouseDown handler
onMouseDown
onTouchStart handler
onTouchStart
The dragging and release events are automatically handled for you. API Docs Guide