Hi Im toying with the possibility to build a webgui out of $.widget factory made widgets because I find it an easy and approachable oo pattern for people who haven't much oo experience with javascript (like me myself). This has led up to two questions:
Is it a good or bad idea that a widget instance made out of $.widget contains instances of other $.widgets or other jquery plugins? My guess is that its doable, droppable depends on draggable for example but I just wanted to check if there's any precautions that needs to be taken to prevent mem leaks etc when widget has dependencies on other widgets and jquery plugins. My second question is about extending $.widget. I want to make something like $.myWidget() that does the exact same thing as $.widget but adds some more methods to all widgets. How do I achive this the bullet proof way? Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
