Firstly, show
is a function declared on enyo.Control: http://enyojs.com/api/#enyo.Control::show
onShow
and onHide
are events that can be subscribed to by the popup's owner (hence, their declaration in the events block). They are called in the showingChanged
function. The method for calling events is do{EventNameWithoutOn}. In this case: doShow
.
Check this documentation on events: https://github.com/enyojs/enyo/wiki/Event-Handling
(Or, you could buy my nice Enyo book! http://roysutton.com/2013/01/31/print-book-now-available/ )
The handlers block is a way for a control to subscribe to messages it (or its children) generate. Having said that, I don't see any place in the code that generates onRequestHide
events.
I hope that helps!