@angular-wave/angular.ts 0.0.57 → 0.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +1 -1
- package/src/animations/animate-css.html +9 -3
- package/src/animations/raf-scheduler.js +37 -12
- package/src/directive/if/if-animate-css.html +65 -0
- package/src/directive/if/if.js +9 -0
- package/src/directive/if/if.spec.js +0 -123
- package/src/directive/if/if.test.js +102 -0
- package/src/directive/include/include.js +26 -11
- package/src/directive/include/include.md +3 -2
- package/src/directive/model/model.js +41 -10
- package/src/shared/jqlite/jqlite.js +1 -1
- package/types/animations/raf-scheduler.d.ts +31 -2
- package/types/directive/if/if.d.ts +7 -8
- package/types/shared/jqlite/jqlite.d.ts +2 -2
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* TODO // Add type for animate service
|
|
4
|
+
* @param {*} $animate
|
|
5
|
+
* @returns {import("../../types").Directive}
|
|
6
|
+
*/
|
|
7
|
+
export function ngIfDirective($animate: any): import("../../types").Directive;
|
|
9
8
|
export namespace ngIfDirective {
|
|
10
9
|
let $inject: string[];
|
|
11
10
|
}
|
|
@@ -193,10 +193,10 @@ export function removeElement(element: Element, keepData?: boolean): void;
|
|
|
193
193
|
export function startingTag(elementStr: string): string;
|
|
194
194
|
/**
|
|
195
195
|
* Return the DOM siblings between the first and last node in the given array.
|
|
196
|
-
* @param {Array} nodes An array-like object
|
|
196
|
+
* @param {JQLite|Array} nodes An array-like object
|
|
197
197
|
* @returns {JQLite} the inputted object or a JQLite collection containing the nodes
|
|
198
198
|
*/
|
|
199
|
-
export function getBlockNodes(nodes: any[]): JQLite;
|
|
199
|
+
export function getBlockNodes(nodes: JQLite | any[]): JQLite;
|
|
200
200
|
export function getBooleanAttrName(element: any, name: any): any;
|
|
201
201
|
/**
|
|
202
202
|
* Takes an array of elements, calls any `$destroy` event handlers, removes any data in cache, and finally removes any
|