update doc for on function

The on function can take a 4th parameter : options
Merge pull request #2440 from MyBoon/patch-1

docs(): update doc for gesture 'on' function