About Pi Downloads Documentation Plugins Developer Forum Issues

pi.util.RemoveEvent

Summary

Allows the removal of event listeners on the event target.

Syntax

pi.util.RemoveEvent(target,type,listener,useCapture);

Usage Example

>>> pi.util.RemoveEvent(window,"mousedown",function(){ alert("hello!"); });