| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Javascript

Page history last edited by Corey Alix 14 years, 6 months ago
Courtesy of Microsoft Silverlight -- call events in the context of another object:
 

// Usage: this.button.addEventListener("MouseEnter", Silverlight.createDelegate(this, this.handleMouseEnter));

 

    Silverlight.createDelegate = function(instance, method) {
        return function() { return method.apply(instance, arguments); }
    }

 

References

Prototype.js - Prototype Javascript Framework Source Code

 

Comments (0)

You don't have permission to comment on this page.