PDA

View Full Version : Ext.plugin.extjs4.FavMenuItem



mitchellsimoens
2 May 2011, 12:29 PM
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/Ext.plugin.extjs4.FavMenuItem

dawesi
10 May 2011, 5:37 PM
nice work :-)

stephen.friedrich
12 May 2011, 12:22 AM
Yes, looks nice! Is it just a teaser? Or else where's the code?

mitchellsimoens
12 May 2011, 5:19 AM
Yes, looks nice! Is it just a teaser? Or else where's the code?

I'm sorry, guess I forgot to post the link. I have updated the post with the link to https://github.com/mitchellsimoens/Ext.plugin.extjs4.FavMenuItem