2
jQuery를이 Mootools의에서 이와 동등한이 당신이MooTools 버전의 jQuery의 네임 스페이스 이벤트?
$div.bind('click.namespace', function)
$div.unbind('click.namespace')
등의 작업을 수행 할 수 있습니다? pseudo event을 정의하려고 시도했습니다.
Event.definePseudo('shim', function(split, fn, args) {fn.apply(this, args);})
document.body.addEvent('click', function(){alert('regular click');});
document.body.addEvent('click:shim', function(){alert('shim click');});
document.body.removeEvents('click') // removes both!
document.body.removeEvents('click:shim') // removes neither!
막 다른 골목처럼 보입니다.