[doc] Added a prototype with options and events 

So we can do a copy/paste.

++