최신 Chrome 브라우저를 사용 중입니다.famo.us 입력 표면 변경/변경 이벤트
도 단지 ('변화', 기능() {}) inputsurface.on 할 수있는 확장 된 이벤트가 없습니다 년부터 inputsurface의 더러운 방법을 onchange를 이벤트를 연결 한 후에 :
MyInputSurface.prototype.deploy = function deploy (target) { this._superDeploy (target);
target.onchange = function() {
console.log('test change');
};
target.onclick = function() {
console.log('test click');
};
};
브라우저 창에서 뒤로 클릭 할 때까지 onchange 이벤트가 시작되지 않습니다. click 이벤트는 잘 작동합니다. 어떤 충고?