Forum /
Sencha Touch 2.x Forums /
Sencha Touch 2.x: Discussion /
My first ST2.0 plugin : MessageBox aka (native popup for everyone)
My first ST2.0 plugin : MessageBox aka (native popup for everyone)
MessageBox is a plugin that overrides `Ext.MessageBox` class from core.
The idea is to provide equivalent native implementation when available.
But you should not have to rewrite a single line of code:
I've written a phonegap plugin that does exactly that for Phonegap!
https://github.com/mgcrea/phonegap-p...one/MessageBox
There is a pull request ongoing so that it can join the official plugin repo.
You can find the sencha-touch plugin below :
https://github.com/mgcrea/sencha-tou...pMessageBox.js
Hope it helps,
Regards,
Olivier
Sencha - Senior Forum Manager
I wouldn't have used the Ext.plugin namespace. What happens if we start using that namespace and now you could have a conflict. (Yes, we will be starting off with two plugins available in the library) Most people use the Ext.ux namespace.
Didn't know that, i've switched to Ext.ux instead. thanks.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us