-
2 May 2011 12:29 PM #1Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,582
- Vote Rating
- 433
Ext.plugin.extjs4.FavMenuItem
Ext.plugin.extjs4.FavMenuItem
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 Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
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 services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
10 May 2011 5:37 PM #2Sencha - Sales Team
- Join Date
- Mar 2007
- Location
- Melbourne, Australia (aka GMT+10)
- Posts
- 738
- Vote Rating
- 6
nice work :-)
Check out SenchaWorld.com for articles, screencasts, conference videos and more.
Sencha Technical Training : Asia Pacific Region
Code Validation : JSLint | JSONLint | JSONPLint
-
12 May 2011 12:22 AM #3
Yes, looks nice! Is it just a teaser? Or else where's the code?
ExtJS 4 plugins:
varheaders - short/normal/long column header
clearbutton - mouseover clear button in text field
Blog: fit4dev
ExtJS User Group Hamburg
-
12 May 2011 5:19 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,582
- Vote Rating
- 433
I'm sorry, guess I forgot to post the link. I have updated the post with the link to https://github.com/mitchellsimoens/E...s4.FavMenuItem
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
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 services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
Similar Threads
-
Extjs4 + mvc + combobox
By frankbolviken in forum Ext: DiscussionReplies: 4Last Post: 25 May 2011, 11:27 PM -
ExtJS4: Size of ext-all.js
By stephen.friedrich in forum Community DiscussionReplies: 10Last Post: 11 Apr 2011, 12:31 PM -
Calendar in Extjs4
By stratboogie in forum Ext: DiscussionReplies: 2Last Post: 6 Apr 2011, 3:25 AM -
Ext.Direct with ExtJS4
By c2c-guinness in forum Ext: DiscussionReplies: 1Last Post: 22 Mar 2011, 6:39 AM


Reply With Quote



