Made updates for a popup implementation, it supports arbitrary popup content
similar to flex.
Example
var demoPopUp:PopUp =
PopUp.createPopUp(PopupContent,this,"Component Popup Test", true, true);
demoPopUp.centrePopup();
Supports modal behavior & drag using titlebar, z-order for multiple popups &
tabbing focus management has yet to be implemented. Alert now subclasses from
Popup. This implementation is only for js, corresponding Actionscript
implementation is TBD.
Sample application & code attached on
https://issues.apache.org/jira/browse/FLEX-33743 .
Had to make a small tweak to closure code due to a compiler defect
(https://issues.apache.org/jira/browse/FLEX-33837), once the code on the
compiler is fixed this patch on closure won't be needed.
Alex or Peter, would love some feedback.
Thanks,
Pratyoosh
This email is confidential and subject to important disclaimers and conditions
including on offers for the purchase or sale of securities, accuracy and
completeness of information, viruses, confidentiality, legal privilege, and
legal entity disclaimers, available at
http://www.jpmorgan.com/pages/disclosures/email.