On Nov 12, 1:36 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > If you're just going to call it once with an argument or two, better off > with a plugin. If you're creating something the user will see, touch, feel, > interact with, a widget may be a good fit.
This is a pretty good way to generalize the difference. I think it really comes down to one question though: Does your plugin have state or is it stateless? If it's stateless, just extend $.fn yourself, you'll save some overhead. If it has state, $.widget will handle all the boiler plate stuff for you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
