Good question. In general, unless we suspect that there is a way to do it with better performance or smaller footprint, we'd probably use a Google Closure library implementation.
The most important thing though, is to make sure that the inclusion in FlexJS is pay-as-you-go so you only pick up the extra download if you are actually using drag-drop. We may also investigate ways to bring in the drag-drop code after startup. No need to initialize interaction handling until there is something to handle. This is why I hope to see code packaged in small plug-ins called "beads", so we can optimize when/if that code gets loaded and run. -Alex On 10/14/13 1:09 PM, "Sharma, Pratyoosh" <pratyoosh.sha...@jpmorgan.com> wrote: >I was thinking on dragging implementation for popups & seems that >libraries like closure abstracts a lot of it. >Understanding that using these functions will start bringing in a lot of >closure classes into the download of FlexJS framework, it seems like a >lot of reinventing the wheel work to implement natively on FlexJS >Thoughts.... > >Thanks, >Pratyoosh > >This email is confidential and subject to important disclaimers and >conditions including on offers for the purchase or sale of securities, >accuracy and completeness of information, viruses, confidentiality, legal >privilege, and legal entity disclaimers, available at >http://www.jpmorgan.com/pages/disclosures/email.