Rewriting the way that Kuix create popupBox, alert, ...

3 messages - 1209 views

We planed, in the next release, to rewrite the Kuix popupBox approach to be able to include popupBox buttons into a bottomBar and map it automaticaly on soft keys. But actualy buttons are created dymanicaly by an 'options' parameter and it is possible to have more then two buttons. But no phone has more than 2 soft keys.

Then we want to simplify the procedure and be able to load popupBox completly from an XMl definition. For example :

<popupBox onAction="myClosePopupBoxAction">

Hello world

<popupBoxFirstMenuItem onAction="myOkAction">OK</popupBoxFirstMenuItem>

<popupBoxSecondMenuItem onAction="myCanceAction">Cancel</popupBoxSecondMenuItem>

</popupBox>

But in this case the old Kuix.showPopupBox(...) and Kuis.alert(...) signature would be changed. And your application need to be adaped.

 

fantastic! that's going to be REALLY useful, thanks!!

Also, it would be nice.. if you could let these popups (menu's if possible) work with non kuix screens.. i.e if we have our own screen.. Would help in transition to kuix easily..

Regards,
Nagendra