26 Nov 2011 7:39 AM #1
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!
There is a pull request ongoing so that it can join the official plugin repo.
You can find the sencha-touch plugin below :
Hope it helps,
27 Nov 2011 6:56 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
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.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
27 Nov 2011 11:43 AM #3
Didn't know that, i've switched to Ext.ux instead. thanks.