* @return a handle that may be used to remove this listener
*/
public static EventListenerRemover addTransitionListener(final Object source,
JavaScriptObject nativeSource, final CssTransitionListener listener) {
return Event.addEventListener(CssTransitionEvent.NAME, nativeSource,
new EventListener() {
public void handleEvent(Event event) {
listener.onTransitionEnd(new CssTransitionEvent(source, event));
}
});
}