This is a refactored example from ForeUI V1.xx. It shows how to detect the current selection within the element. It also demonstrate a very useful trick: use a new page to simulate the popup menu or window, just use the main page as master page and all new page will have the same background. This trick can reduce the overlapping of elements and make your pages more editable.


