문제

I understand how to bind an action in a Backbone View to an event trigger but, how can you fire an action watching the condition that two precise envets have been triggered?

도움이 되었습니까?

해결책

For that you can use jquery functionality like:

$.when(func1, func2).then(func3);

It acts like deffered and promise here.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top