Results 1 to 3 of 3

Thread: My first ST2.0 plugin : MessageBox aka (native popup for everyone)

  1. #1
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Paris, France
    Posts
    187
    Vote Rating
    3
      0  

    Default 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

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,554
    Vote Rating
    1272
      0  

    Default

    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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Paris, France
    Posts
    187
    Vote Rating
    3
      0  

    Default

    Didn't know that, i've switched to Ext.ux instead. thanks.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •