Add callback options function after element had been ellipsed out

Hi !

This is my very first pull request ! Please would you excuse me if I haven't done it right....
I just thought it could be great to have a callback for each element that had been ellipsed out.
I needed it so I share my work.

Hope you'll find it interesting !