2 May 2011 12:29 PM #1
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Quick draft of a plugin to make Menu Items have a star to act as a favorite.
In the handler, you can pass true, false, or 'wait'. If you pass true it will mark the star to a brighter yellow. If you pass false, nothing will happen. If you pass 'wait', a wait dialog will be shown while you can make an AJAX call or something. Then you can use the setMarked method and pass true/false in your callback.
GitHub repo - https://github.com/mitchellsimoens/E...s4.FavMenuItemMitchell 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 email@example.com
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.
By frankbolviken in forum Ext: DiscussionReplies: 5Last Post: 17 Sep 2013, 8:45 PM
By stephen.friedrich in forum Community DiscussionReplies: 10Last Post: 11 Apr 2011, 12:31 PM
By stratboogie in forum Ext: DiscussionReplies: 2Last Post: 6 Apr 2011, 3:25 AM
By c2c-guinness in forum Ext: DiscussionReplies: 1Last Post: 22 Mar 2011, 6:39 AM