Adding those events to Element.NativeEvents is all you need to get it working:
https://github.com/arian/mootools-form-upload/blob/master/Source/Form.MultipleFileInput.js#L15-17 As a side note, in the event callback, 'event.event' is the original event object that might contain some drag specific information which you might want to use. So el.addEvent('drop', function(event){ console.log(event); // mootools extended event console.log(event.event); // original browser event }); On Wed, Jun 8, 2011 at 10:53 AM, Oskar Krawczyk <[email protected]>wrote: > Define "support". You can add support by extending the Events object in > MooTools. > > If you're more thinking about using Native d-n-d evens on modern browsers > and fallback to JS-based on IE, I highly doubt it'll ever be released with > MooTools-core or -more. > > That said, there's a new initiative (not an official project) called > MooTools-HTMLX (https://github.com/csuwldcat/mootools-htmlx), that I have > very high hopes for, so you might be interested in following it and even > contributing. > > Best, > Oskar > > On Jun 8, 2011, at 3:08 AM, Philip Thompson wrote: > > Is there any discussion for Mootools to support browser-native drag* > events? If so, is it slated for a particular release? > > Thanks, > ~Philip > > -- > http://lonestarlightandsound.com/ > > >
