This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -254,6 +254,9 @@ var $AnimateProvider = ['$provide', /** @this */ function($provide) {
254
254
* animations sluggish.
255
255
* </div>
256
256
*
257
+ * **Note:** If present, `customFilter` will be checked before
258
+ * {@link $animateProvider#classNameFilter classNameFilter}.
259
+ *
257
260
* @param {Function= } filterFn - The filter function which will be used to filter all animations.
258
261
* If a falsy value is returned, no animation will be performed. The function will be called
259
262
* with the following arguments:
@@ -282,6 +285,11 @@ var $AnimateProvider = ['$provide', /** @this */ function($provide) {
282
285
* When setting the `classNameFilter` value, animations will only be performed on elements
283
286
* that successfully match the filter expression. This in turn can boost performance
284
287
* for low-powered devices as well as applications containing a lot of structural operations.
288
+ *
289
+ * **Note:** If present, `classNameFilter` will be checked after
290
+ * {@link $animateProvider#customFilter customFilter}. If `customFilter` is present and returns
291
+ * false, `classNameFilter` will not be checked.
292
+ *
285
293
* @param {RegExp= } expression The className expression which will be checked against all animations
286
294
* @return {RegExp } The current CSS className expression value. If null then there is no expression value
287
295
*/
You can’t perform that action at this time.
0 commit comments