[doc] Added a prototype with options and events