mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Vendored
+2
-2
@@ -43,7 +43,7 @@ declare namespace angular.animate {
|
||||
* @param container the container element that will capture each of the animation events that are fired on itself as well as among its children
|
||||
* @param callback the callback function that will be fired when the listener is triggered
|
||||
*/
|
||||
on(event: string, container: JQuery, callback: Function): void;
|
||||
on(event: string, container: JQuery, callback: (element?: JQuery, phase?: string) => any): void;
|
||||
|
||||
/**
|
||||
* Deregisters an event listener based on the event which has been associated with the provided element.
|
||||
@@ -52,7 +52,7 @@ declare namespace angular.animate {
|
||||
* @param container the container element the event listener was placed on
|
||||
* @param callback the callback function that was registered as the listener
|
||||
*/
|
||||
off(event: string, container?: JQuery, callback?: Function): void;
|
||||
off(event: string, container?: JQuery, callback?: (element?: JQuery, phase?: string) => any): void;
|
||||
|
||||
/**
|
||||
* Associates the provided element with a host parent element to allow the element to be animated even if it exists outside of the DOM structure of the Angular application.
|
||||
|
||||
Reference in New Issue
Block a user