@angular/animations 9.1.0 → 9.1.4
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/animations.d.ts +9 -8
- package/animations.metadata.json +1 -1
- package/browser/browser.d.ts +1 -1
- package/browser/browser.metadata.json +1 -1
- package/browser/testing/testing.d.ts +1 -1
- package/browser/testing/testing.metadata.json +1 -1
- package/browser/testing.d.ts +1 -1
- package/browser.d.ts +1 -1
- package/bundles/animations-browser-testing.umd.js +33 -8
- package/bundles/animations-browser-testing.umd.js.map +1 -1
- package/bundles/animations-browser-testing.umd.min.js +1 -1
- package/bundles/animations-browser-testing.umd.min.js.map +1 -1
- package/bundles/animations-browser.umd.js +247 -90
- package/bundles/animations-browser.umd.js.map +1 -1
- package/bundles/animations-browser.umd.min.js +8 -8
- package/bundles/animations-browser.umd.min.js.map +1 -1
- package/bundles/animations.umd.js +45 -16
- package/bundles/animations.umd.js.map +1 -1
- package/bundles/animations.umd.min.js +1 -1
- package/bundles/animations.umd.min.js.map +1 -1
- package/esm2015/browser/index.js +1 -1
- package/esm2015/browser/public_api.js +1 -1
- package/esm2015/browser/src/browser.js +1 -1
- package/esm2015/browser/src/dsl/animation.js +3 -3
- package/esm2015/browser/src/dsl/animation_ast.js +1 -1
- package/esm2015/browser/src/dsl/animation_ast_builder.js +18 -8
- package/esm2015/browser/src/dsl/animation_timeline_builder.js +28 -11
- package/esm2015/browser/src/dsl/animation_timeline_instruction.js +4 -2
- package/esm2015/browser/src/dsl/animation_transition_expr.js +1 -1
- package/esm2015/browser/src/dsl/animation_transition_factory.js +7 -3
- package/esm2015/browser/src/dsl/animation_trigger.js +4 -2
- package/esm2015/browser/src/dsl/element_instruction_map.js +7 -3
- package/esm2015/browser/src/dsl/style_normalization/animation_style_normalizer.js +4 -2
- package/esm2015/browser/src/private_export.js +2 -2
- package/esm2015/browser/src/render/animation_driver.js +7 -3
- package/esm2015/browser/src/render/animation_engine_instruction.js +3 -2
- package/esm2015/browser/src/render/animation_engine_next.js +8 -4
- package/esm2015/browser/src/render/css_keyframes/css_keyframes_driver.js +7 -3
- package/esm2015/browser/src/render/css_keyframes/css_keyframes_player.js +23 -8
- package/esm2015/browser/src/render/css_keyframes/direct_style_player.js +1 -1
- package/esm2015/browser/src/render/css_keyframes/element_animation_style_handler.js +10 -4
- package/esm2015/browser/src/render/shared.js +4 -2
- package/esm2015/browser/src/render/special_cased_styles.js +1 -1
- package/esm2015/browser/src/render/timeline_animation_engine.js +6 -4
- package/esm2015/browser/src/render/transition_animation_engine.js +77 -34
- package/esm2015/browser/src/render/web_animations/web_animations_driver.js +10 -4
- package/esm2015/browser/src/render/web_animations/web_animations_player.js +22 -8
- package/esm2015/browser/src/util.js +7 -3
- package/esm2015/browser/testing/src/mock_animation_driver.js +13 -5
- package/esm2015/index.js +1 -1
- package/esm2015/public_api.js +1 -1
- package/esm2015/src/animation_metadata.js +3 -2
- package/esm2015/src/animations.js +2 -2
- package/esm2015/src/players/animation_group_player.js +37 -21
- package/esm2015/src/players/animation_player.js +25 -11
- package/esm2015/src/version.js +1 -1
- package/esm5/browser/src/dsl/animation.js +3 -3
- package/esm5/browser/src/dsl/animation_ast.js +1 -1
- package/esm5/browser/src/dsl/animation_ast_builder.js +18 -8
- package/esm5/browser/src/dsl/animation_timeline_builder.js +28 -11
- package/esm5/browser/src/dsl/animation_timeline_instruction.js +4 -2
- package/esm5/browser/src/dsl/animation_transition_expr.js +1 -1
- package/esm5/browser/src/dsl/animation_transition_factory.js +7 -3
- package/esm5/browser/src/dsl/animation_trigger.js +6 -4
- package/esm5/browser/src/dsl/element_instruction_map.js +7 -3
- package/esm5/browser/src/dsl/style_normalization/animation_style_normalizer.js +4 -2
- package/esm5/browser/src/private_export.js +2 -2
- package/esm5/browser/src/render/animation_driver.js +7 -3
- package/esm5/browser/src/render/animation_engine_instruction.js +1 -1
- package/esm5/browser/src/render/animation_engine_next.js +5 -3
- package/esm5/browser/src/render/css_keyframes/css_keyframes_driver.js +7 -3
- package/esm5/browser/src/render/css_keyframes/css_keyframes_player.js +19 -7
- package/esm5/browser/src/render/css_keyframes/direct_style_player.js +1 -1
- package/esm5/browser/src/render/css_keyframes/element_animation_style_handler.js +10 -4
- package/esm5/browser/src/render/shared.js +4 -2
- package/esm5/browser/src/render/special_cased_styles.js +1 -1
- package/esm5/browser/src/render/timeline_animation_engine.js +6 -4
- package/esm5/browser/src/render/transition_animation_engine.js +73 -30
- package/esm5/browser/src/render/web_animations/web_animations_driver.js +10 -4
- package/esm5/browser/src/render/web_animations/web_animations_player.js +22 -8
- package/esm5/browser/src/util.js +7 -3
- package/esm5/browser/testing/src/mock_animation_driver.js +13 -5
- package/esm5/src/animation_metadata.js +3 -2
- package/esm5/src/animations.js +2 -2
- package/esm5/src/players/animation_group_player.js +25 -9
- package/esm5/src/players/animation_player.js +19 -7
- package/esm5/src/version.js +1 -1
- package/fesm2015/animations.js +63 -32
- package/fesm2015/animations.js.map +1 -1
- package/fesm2015/browser/testing.js +13 -5
- package/fesm2015/browser/testing.js.map +1 -1
- package/fesm2015/browser.js +236 -91
- package/fesm2015/browser.js.map +1 -1
- package/fesm5/animations.js +45 -16
- package/fesm5/animations.js.map +1 -1
- package/fesm5/browser/testing.js +13 -5
- package/fesm5/browser/testing.js.map +1 -1
- package/fesm5/browser.js +227 -87
- package/fesm5/browser.js.map +1 -1
- package/package.json +2 -2
package/fesm2015/browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v9.1.
|
|
2
|
+
* @license Angular v9.1.4
|
|
3
3
|
* (c) 2010-2020 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -247,7 +247,9 @@ if (_isNode || typeof Element !== 'undefined') {
|
|
|
247
247
|
* @param {?} elm2
|
|
248
248
|
* @return {?}
|
|
249
249
|
*/
|
|
250
|
-
(elm1, elm2) => {
|
|
250
|
+
(elm1, elm2) => {
|
|
251
|
+
return (/** @type {?} */ (elm1.contains(elm2)));
|
|
252
|
+
});
|
|
251
253
|
_matches = ((/**
|
|
252
254
|
* @return {?}
|
|
253
255
|
*/
|
|
@@ -382,7 +384,9 @@ class NoopAnimationDriver {
|
|
|
382
384
|
* @param {?} prop
|
|
383
385
|
* @return {?}
|
|
384
386
|
*/
|
|
385
|
-
validateStyleProperty(prop) {
|
|
387
|
+
validateStyleProperty(prop) {
|
|
388
|
+
return validateStyleProperty(prop);
|
|
389
|
+
}
|
|
386
390
|
/**
|
|
387
391
|
* @param {?} element
|
|
388
392
|
* @param {?} selector
|
|
@@ -396,7 +400,9 @@ class NoopAnimationDriver {
|
|
|
396
400
|
* @param {?} elm2
|
|
397
401
|
* @return {?}
|
|
398
402
|
*/
|
|
399
|
-
containsElement(elm1, elm2) {
|
|
403
|
+
containsElement(elm1, elm2) {
|
|
404
|
+
return containsElement(elm1, elm2);
|
|
405
|
+
}
|
|
400
406
|
/**
|
|
401
407
|
* @param {?} element
|
|
402
408
|
* @param {?} selector
|
|
@@ -622,7 +628,9 @@ function copyObj(obj, destination = {}) {
|
|
|
622
628
|
* @param {?} prop
|
|
623
629
|
* @return {?}
|
|
624
630
|
*/
|
|
625
|
-
prop => {
|
|
631
|
+
prop => {
|
|
632
|
+
destination[prop] = obj[prop];
|
|
633
|
+
}));
|
|
626
634
|
return destination;
|
|
627
635
|
}
|
|
628
636
|
/**
|
|
@@ -939,7 +947,9 @@ function balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles)
|
|
|
939
947
|
* @param {?} prop
|
|
940
948
|
* @return {?}
|
|
941
949
|
*/
|
|
942
|
-
function (prop) {
|
|
950
|
+
function (prop) {
|
|
951
|
+
kf[prop] = computeStyle(element, prop);
|
|
952
|
+
}));
|
|
943
953
|
}
|
|
944
954
|
}
|
|
945
955
|
}
|
|
@@ -1265,7 +1275,11 @@ class AnimationAstBuilderVisitor {
|
|
|
1265
1275
|
}));
|
|
1266
1276
|
return {
|
|
1267
1277
|
type: 7 /* Trigger */,
|
|
1268
|
-
name: metadata.name,
|
|
1278
|
+
name: metadata.name,
|
|
1279
|
+
states,
|
|
1280
|
+
transitions,
|
|
1281
|
+
queryCount,
|
|
1282
|
+
depCount,
|
|
1269
1283
|
options: null
|
|
1270
1284
|
};
|
|
1271
1285
|
}
|
|
@@ -1312,7 +1326,8 @@ class AnimationAstBuilderVisitor {
|
|
|
1312
1326
|
if (missingSubs.size) {
|
|
1313
1327
|
/** @type {?} */
|
|
1314
1328
|
const missingSubsArr = iteratorToArray(missingSubs.values());
|
|
1315
|
-
context.errors.push(`state("${metadata
|
|
1329
|
+
context.errors.push(`state("${metadata
|
|
1330
|
+
.name}", ...) must define default values for all the following style substitutions: ${missingSubsArr.join(', ')}`);
|
|
1316
1331
|
}
|
|
1317
1332
|
}
|
|
1318
1333
|
return {
|
|
@@ -1508,7 +1523,8 @@ class AnimationAstBuilderVisitor {
|
|
|
1508
1523
|
type: 6 /* Style */,
|
|
1509
1524
|
styles,
|
|
1510
1525
|
easing: collectedEasing,
|
|
1511
|
-
offset: metadata.offset,
|
|
1526
|
+
offset: metadata.offset,
|
|
1527
|
+
containsDynamicStyles,
|
|
1512
1528
|
options: null
|
|
1513
1529
|
};
|
|
1514
1530
|
}
|
|
@@ -1553,7 +1569,8 @@ class AnimationAstBuilderVisitor {
|
|
|
1553
1569
|
if (collectedEntry) {
|
|
1554
1570
|
if (startTime != endTime && startTime >= collectedEntry.startTime &&
|
|
1555
1571
|
endTime <= collectedEntry.endTime) {
|
|
1556
|
-
context.errors.push(`The CSS property "${prop}" that exists between the times of "${collectedEntry.startTime}ms" and "${collectedEntry
|
|
1572
|
+
context.errors.push(`The CSS property "${prop}" that exists between the times of "${collectedEntry.startTime}ms" and "${collectedEntry
|
|
1573
|
+
.endTime}ms" is also being animated in a parallel animation between the times of "${startTime}ms" and "${endTime}ms"`);
|
|
1557
1574
|
updateCollectedStyle = false;
|
|
1558
1575
|
}
|
|
1559
1576
|
// we always choose the smaller start time value since we
|
|
@@ -1718,7 +1735,9 @@ class AnimationAstBuilderVisitor {
|
|
|
1718
1735
|
type: 11 /* Query */,
|
|
1719
1736
|
selector,
|
|
1720
1737
|
limit: options.limit || 0,
|
|
1721
|
-
optional: !!options.optional,
|
|
1738
|
+
optional: !!options.optional,
|
|
1739
|
+
includeSelf,
|
|
1740
|
+
animation,
|
|
1722
1741
|
originalSelector: metadata.selector,
|
|
1723
1742
|
options: normalizeAnimationOptions(metadata.options)
|
|
1724
1743
|
};
|
|
@@ -1738,7 +1757,8 @@ class AnimationAstBuilderVisitor {
|
|
|
1738
1757
|
resolveTiming(metadata.timings, context.errors, true);
|
|
1739
1758
|
return {
|
|
1740
1759
|
type: 12 /* Stagger */,
|
|
1741
|
-
animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),
|
|
1760
|
+
animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),
|
|
1761
|
+
timings,
|
|
1742
1762
|
options: null
|
|
1743
1763
|
};
|
|
1744
1764
|
}
|
|
@@ -1969,7 +1989,9 @@ function createTimelineInstruction(element, keyframes, preStyleProps, postStyleP
|
|
|
1969
1989
|
postStyleProps,
|
|
1970
1990
|
duration,
|
|
1971
1991
|
delay,
|
|
1972
|
-
totalTime: duration + delay,
|
|
1992
|
+
totalTime: duration + delay,
|
|
1993
|
+
easing,
|
|
1994
|
+
subTimeline
|
|
1973
1995
|
};
|
|
1974
1996
|
}
|
|
1975
1997
|
|
|
@@ -2014,11 +2036,15 @@ class ElementInstructionMap {
|
|
|
2014
2036
|
* @param {?} element
|
|
2015
2037
|
* @return {?}
|
|
2016
2038
|
*/
|
|
2017
|
-
has(element) {
|
|
2039
|
+
has(element) {
|
|
2040
|
+
return this._map.has(element);
|
|
2041
|
+
}
|
|
2018
2042
|
/**
|
|
2019
2043
|
* @return {?}
|
|
2020
2044
|
*/
|
|
2021
|
-
clear() {
|
|
2045
|
+
clear() {
|
|
2046
|
+
this._map.clear();
|
|
2047
|
+
}
|
|
2022
2048
|
}
|
|
2023
2049
|
if (false) {
|
|
2024
2050
|
/**
|
|
@@ -2486,8 +2512,9 @@ class AnimationTimelineBuilderVisitor {
|
|
|
2486
2512
|
const options = (/** @type {?} */ ((ast.options || {})));
|
|
2487
2513
|
/** @type {?} */
|
|
2488
2514
|
const delay = options.delay ? resolveTimingValue(options.delay) : 0;
|
|
2489
|
-
if (delay &&
|
|
2490
|
-
(
|
|
2515
|
+
if (delay &&
|
|
2516
|
+
(context.previousNode.type === 6 /* Style */ ||
|
|
2517
|
+
(startTime == 0 && context.currentTimeline.getCurrentStyleProperties().length))) {
|
|
2491
2518
|
context.currentTimeline.snapshotCurrentStyles();
|
|
2492
2519
|
context.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;
|
|
2493
2520
|
}
|
|
@@ -2611,7 +2638,9 @@ class AnimationTimelineContext {
|
|
|
2611
2638
|
/**
|
|
2612
2639
|
* @return {?}
|
|
2613
2640
|
*/
|
|
2614
|
-
get params() {
|
|
2641
|
+
get params() {
|
|
2642
|
+
return this.options.params;
|
|
2643
|
+
}
|
|
2615
2644
|
/**
|
|
2616
2645
|
* @param {?} options
|
|
2617
2646
|
* @param {?=} skipIfExists
|
|
@@ -2667,7 +2696,9 @@ class AnimationTimelineContext {
|
|
|
2667
2696
|
* @param {?} name
|
|
2668
2697
|
* @return {?}
|
|
2669
2698
|
*/
|
|
2670
|
-
name => {
|
|
2699
|
+
name => {
|
|
2700
|
+
params[name] = oldParams[name];
|
|
2701
|
+
}));
|
|
2671
2702
|
}
|
|
2672
2703
|
}
|
|
2673
2704
|
return options;
|
|
@@ -2862,11 +2893,15 @@ class TimelineBuilder {
|
|
|
2862
2893
|
/**
|
|
2863
2894
|
* @return {?}
|
|
2864
2895
|
*/
|
|
2865
|
-
getCurrentStyleProperties() {
|
|
2896
|
+
getCurrentStyleProperties() {
|
|
2897
|
+
return Object.keys(this._currentKeyframe);
|
|
2898
|
+
}
|
|
2866
2899
|
/**
|
|
2867
2900
|
* @return {?}
|
|
2868
2901
|
*/
|
|
2869
|
-
get currentTime() {
|
|
2902
|
+
get currentTime() {
|
|
2903
|
+
return this.startTime + this.duration;
|
|
2904
|
+
}
|
|
2870
2905
|
/**
|
|
2871
2906
|
* @param {?} delay
|
|
2872
2907
|
* @return {?}
|
|
@@ -2941,7 +2976,9 @@ class TimelineBuilder {
|
|
|
2941
2976
|
/**
|
|
2942
2977
|
* @return {?}
|
|
2943
2978
|
*/
|
|
2944
|
-
allowOnlyTimelineStyles() {
|
|
2979
|
+
allowOnlyTimelineStyles() {
|
|
2980
|
+
return this._currentEmptyStepKeyframe !== this._currentKeyframe;
|
|
2981
|
+
}
|
|
2945
2982
|
/**
|
|
2946
2983
|
* @param {?} easing
|
|
2947
2984
|
* @return {?}
|
|
@@ -3045,7 +3082,9 @@ class TimelineBuilder {
|
|
|
3045
3082
|
/**
|
|
3046
3083
|
* @return {?}
|
|
3047
3084
|
*/
|
|
3048
|
-
getFinalKeyframe() {
|
|
3085
|
+
getFinalKeyframe() {
|
|
3086
|
+
return this._keyframes.get(this.duration);
|
|
3087
|
+
}
|
|
3049
3088
|
/**
|
|
3050
3089
|
* @return {?}
|
|
3051
3090
|
*/
|
|
@@ -3220,7 +3259,9 @@ class SubTimelineBuilder extends TimelineBuilder {
|
|
|
3220
3259
|
/**
|
|
3221
3260
|
* @return {?}
|
|
3222
3261
|
*/
|
|
3223
|
-
containsAnimation() {
|
|
3262
|
+
containsAnimation() {
|
|
3263
|
+
return this.keyframes.length > 1;
|
|
3264
|
+
}
|
|
3224
3265
|
/**
|
|
3225
3266
|
* @return {?}
|
|
3226
3267
|
*/
|
|
@@ -3328,7 +3369,9 @@ function flattenStyles(input, allStyles) {
|
|
|
3328
3369
|
* @param {?} prop
|
|
3329
3370
|
* @return {?}
|
|
3330
3371
|
*/
|
|
3331
|
-
prop => {
|
|
3372
|
+
prop => {
|
|
3373
|
+
styles[prop] = AUTO_STYLE;
|
|
3374
|
+
}));
|
|
3332
3375
|
}
|
|
3333
3376
|
else {
|
|
3334
3377
|
copyStyles((/** @type {?} */ (token)), false, styles);
|
|
@@ -3355,7 +3398,7 @@ class Animation {
|
|
|
3355
3398
|
const ast = buildAnimationAst(_driver, input, errors);
|
|
3356
3399
|
if (errors.length) {
|
|
3357
3400
|
/** @type {?} */
|
|
3358
|
-
const errorMessage = `animation validation failed:\n${errors.join(
|
|
3401
|
+
const errorMessage = `animation validation failed:\n${errors.join('\n')}`;
|
|
3359
3402
|
throw new Error(errorMessage);
|
|
3360
3403
|
}
|
|
3361
3404
|
this._animationAst = ast;
|
|
@@ -3382,7 +3425,7 @@ class Animation {
|
|
|
3382
3425
|
const result = buildAnimationTimelines(this._driver, element, this._animationAst, ENTER_CLASSNAME, LEAVE_CLASSNAME, start, dest, options, subInstructions, errors);
|
|
3383
3426
|
if (errors.length) {
|
|
3384
3427
|
/** @type {?} */
|
|
3385
|
-
const errorMessage = `animation building failed:\n${errors.join(
|
|
3428
|
+
const errorMessage = `animation building failed:\n${errors.join('\n')}`;
|
|
3386
3429
|
throw new Error(errorMessage);
|
|
3387
3430
|
}
|
|
3388
3431
|
return result;
|
|
@@ -3446,7 +3489,9 @@ class NoopAnimationStyleNormalizer {
|
|
|
3446
3489
|
* @param {?} errors
|
|
3447
3490
|
* @return {?}
|
|
3448
3491
|
*/
|
|
3449
|
-
normalizePropertyName(propertyName, errors) {
|
|
3492
|
+
normalizePropertyName(propertyName, errors) {
|
|
3493
|
+
return propertyName;
|
|
3494
|
+
}
|
|
3450
3495
|
/**
|
|
3451
3496
|
* @param {?} userProvidedProperty
|
|
3452
3497
|
* @param {?} normalizedProperty
|
|
@@ -3674,14 +3719,18 @@ class AnimationTransitionFactory {
|
|
|
3674
3719
|
/** @type {?} */
|
|
3675
3720
|
const animationOptions = { params: Object.assign(Object.assign({}, transitionAnimationParams), nextAnimationParams) };
|
|
3676
3721
|
/** @type {?} */
|
|
3677
|
-
const timelines = skipAstBuild ?
|
|
3722
|
+
const timelines = skipAstBuild ?
|
|
3723
|
+
[] :
|
|
3724
|
+
buildAnimationTimelines(driver, element, this.ast.animation, enterClassName, leaveClassName, currentStateStyles, nextStateStyles, animationOptions, subInstructions, errors);
|
|
3678
3725
|
/** @type {?} */
|
|
3679
3726
|
let totalTime = 0;
|
|
3680
3727
|
timelines.forEach((/**
|
|
3681
3728
|
* @param {?} tl
|
|
3682
3729
|
* @return {?}
|
|
3683
3730
|
*/
|
|
3684
|
-
tl => {
|
|
3731
|
+
tl => {
|
|
3732
|
+
totalTime = Math.max(tl.duration + tl.delay, totalTime);
|
|
3733
|
+
}));
|
|
3685
3734
|
if (errors.length) {
|
|
3686
3735
|
return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, [], [], preStyleMap, postStyleMap, totalTime, errors);
|
|
3687
3736
|
}
|
|
@@ -3862,7 +3911,9 @@ class AnimationTrigger {
|
|
|
3862
3911
|
/**
|
|
3863
3912
|
* @return {?}
|
|
3864
3913
|
*/
|
|
3865
|
-
get containsQueries() {
|
|
3914
|
+
get containsQueries() {
|
|
3915
|
+
return this.ast.queryCount > 0;
|
|
3916
|
+
}
|
|
3866
3917
|
/**
|
|
3867
3918
|
* @param {?} currentState
|
|
3868
3919
|
* @param {?} nextState
|
|
@@ -3976,7 +4027,7 @@ class TimelineAnimationEngine {
|
|
|
3976
4027
|
/** @type {?} */
|
|
3977
4028
|
const ast = buildAnimationAst(this._driver, metadata, errors);
|
|
3978
4029
|
if (errors.length) {
|
|
3979
|
-
throw new Error(`Unable to build the animation due to the following errors: ${errors.join(
|
|
4030
|
+
throw new Error(`Unable to build the animation due to the following errors: ${errors.join('\n')}`);
|
|
3980
4031
|
}
|
|
3981
4032
|
else {
|
|
3982
4033
|
this._animations[id] = ast;
|
|
@@ -4032,7 +4083,7 @@ class TimelineAnimationEngine {
|
|
|
4032
4083
|
instructions = [];
|
|
4033
4084
|
}
|
|
4034
4085
|
if (errors.length) {
|
|
4035
|
-
throw new Error(`Unable to create the animation due to the following errors: ${errors.join(
|
|
4086
|
+
throw new Error(`Unable to create the animation due to the following errors: ${errors.join('\n')}`);
|
|
4036
4087
|
}
|
|
4037
4088
|
autoStylesMap.forEach((/**
|
|
4038
4089
|
* @param {?} styles
|
|
@@ -4044,7 +4095,9 @@ class TimelineAnimationEngine {
|
|
|
4044
4095
|
* @param {?} prop
|
|
4045
4096
|
* @return {?}
|
|
4046
4097
|
*/
|
|
4047
|
-
prop => {
|
|
4098
|
+
prop => {
|
|
4099
|
+
styles[prop] = this._driver.computeStyle(element, prop, AUTO_STYLE);
|
|
4100
|
+
}));
|
|
4048
4101
|
}));
|
|
4049
4102
|
/** @type {?} */
|
|
4050
4103
|
const players = instructions.map((/**
|
|
@@ -4299,7 +4352,9 @@ class StateValue {
|
|
|
4299
4352
|
/**
|
|
4300
4353
|
* @return {?}
|
|
4301
4354
|
*/
|
|
4302
|
-
get params() {
|
|
4355
|
+
get params() {
|
|
4356
|
+
return (/** @type {?} */ (this.options.params));
|
|
4357
|
+
}
|
|
4303
4358
|
/**
|
|
4304
4359
|
* @param {?} options
|
|
4305
4360
|
* @return {?}
|
|
@@ -4527,7 +4582,9 @@ class AnimationTransitionNamespace {
|
|
|
4527
4582
|
player.onStart((/**
|
|
4528
4583
|
* @return {?}
|
|
4529
4584
|
*/
|
|
4530
|
-
() => {
|
|
4585
|
+
() => {
|
|
4586
|
+
removeClass(element, QUEUED_CLASSNAME);
|
|
4587
|
+
}));
|
|
4531
4588
|
}
|
|
4532
4589
|
player.onDone((/**
|
|
4533
4590
|
* @return {?}
|
|
@@ -4563,7 +4620,9 @@ class AnimationTransitionNamespace {
|
|
|
4563
4620
|
* @param {?} element
|
|
4564
4621
|
* @return {?}
|
|
4565
4622
|
*/
|
|
4566
|
-
(stateMap, element) => {
|
|
4623
|
+
(stateMap, element) => {
|
|
4624
|
+
delete stateMap[name];
|
|
4625
|
+
}));
|
|
4567
4626
|
this._elementListeners.forEach((/**
|
|
4568
4627
|
* @param {?} listeners
|
|
4569
4628
|
* @param {?} element
|
|
@@ -4574,7 +4633,9 @@ class AnimationTransitionNamespace {
|
|
|
4574
4633
|
* @param {?} entry
|
|
4575
4634
|
* @return {?}
|
|
4576
4635
|
*/
|
|
4577
|
-
entry => {
|
|
4636
|
+
entry => {
|
|
4637
|
+
return entry.name != name;
|
|
4638
|
+
})));
|
|
4578
4639
|
}));
|
|
4579
4640
|
}
|
|
4580
4641
|
/**
|
|
@@ -4797,7 +4858,9 @@ class AnimationTransitionNamespace {
|
|
|
4797
4858
|
* @param {?} parent
|
|
4798
4859
|
* @return {?}
|
|
4799
4860
|
*/
|
|
4800
|
-
insertNode(element, parent) {
|
|
4861
|
+
insertNode(element, parent) {
|
|
4862
|
+
addClass(element, this._hostClassName);
|
|
4863
|
+
}
|
|
4801
4864
|
/**
|
|
4802
4865
|
* @param {?} microtaskId
|
|
4803
4866
|
* @return {?}
|
|
@@ -4979,7 +5042,9 @@ class TransitionAnimationEngine {
|
|
|
4979
5042
|
* @param {?} context
|
|
4980
5043
|
* @return {?}
|
|
4981
5044
|
*/
|
|
4982
|
-
_onRemovalComplete(element, context) {
|
|
5045
|
+
_onRemovalComplete(element, context) {
|
|
5046
|
+
this.onRemovalComplete(element, context);
|
|
5047
|
+
}
|
|
4983
5048
|
/**
|
|
4984
5049
|
* @return {?}
|
|
4985
5050
|
*/
|
|
@@ -5117,7 +5182,9 @@ class TransitionAnimationEngine {
|
|
|
5117
5182
|
* @param {?} id
|
|
5118
5183
|
* @return {?}
|
|
5119
5184
|
*/
|
|
5120
|
-
_fetchNamespace(id) {
|
|
5185
|
+
_fetchNamespace(id) {
|
|
5186
|
+
return this._namespaceLookup[id];
|
|
5187
|
+
}
|
|
5121
5188
|
/**
|
|
5122
5189
|
* @param {?} element
|
|
5123
5190
|
* @return {?}
|
|
@@ -5215,7 +5282,9 @@ class TransitionAnimationEngine {
|
|
|
5215
5282
|
* @param {?} element
|
|
5216
5283
|
* @return {?}
|
|
5217
5284
|
*/
|
|
5218
|
-
collectEnterElement(element) {
|
|
5285
|
+
collectEnterElement(element) {
|
|
5286
|
+
this.collectedEnterElements.push(element);
|
|
5287
|
+
}
|
|
5219
5288
|
/**
|
|
5220
5289
|
* @param {?} element
|
|
5221
5290
|
* @param {?} value
|
|
@@ -5271,11 +5340,8 @@ class TransitionAnimationEngine {
|
|
|
5271
5340
|
*/
|
|
5272
5341
|
markElementAsRemoved(namespaceId, element, hasAnimation, context) {
|
|
5273
5342
|
this.collectedLeaveElements.push(element);
|
|
5274
|
-
element[REMOVAL_FLAG] =
|
|
5275
|
-
namespaceId,
|
|
5276
|
-
setForRemoval: context, hasAnimation,
|
|
5277
|
-
removedBeforeQueried: false
|
|
5278
|
-
};
|
|
5343
|
+
element[REMOVAL_FLAG] =
|
|
5344
|
+
{ namespaceId, setForRemoval: context, hasAnimation, removedBeforeQueried: false };
|
|
5279
5345
|
}
|
|
5280
5346
|
/**
|
|
5281
5347
|
* @param {?} namespaceId
|
|
@@ -5481,11 +5547,13 @@ class TransitionAnimationEngine {
|
|
|
5481
5547
|
optimizeGroupPlayer(players).onDone((/**
|
|
5482
5548
|
* @return {?}
|
|
5483
5549
|
*/
|
|
5484
|
-
() => {
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5550
|
+
() => {
|
|
5551
|
+
quietFns.forEach((/**
|
|
5552
|
+
* @param {?} fn
|
|
5553
|
+
* @return {?}
|
|
5554
|
+
*/
|
|
5555
|
+
fn => fn()));
|
|
5556
|
+
}));
|
|
5489
5557
|
}
|
|
5490
5558
|
else {
|
|
5491
5559
|
quietFns.forEach((/**
|
|
@@ -5647,7 +5715,9 @@ class TransitionAnimationEngine {
|
|
|
5647
5715
|
* @param {?} element
|
|
5648
5716
|
* @return {?}
|
|
5649
5717
|
*/
|
|
5650
|
-
element => {
|
|
5718
|
+
element => {
|
|
5719
|
+
this.processLeaveNode(element);
|
|
5720
|
+
}));
|
|
5651
5721
|
}));
|
|
5652
5722
|
/** @type {?} */
|
|
5653
5723
|
const allPlayers = [];
|
|
@@ -6096,12 +6166,16 @@ class TransitionAnimationEngine {
|
|
|
6096
6166
|
* @param {?} callback
|
|
6097
6167
|
* @return {?}
|
|
6098
6168
|
*/
|
|
6099
|
-
afterFlush(callback) {
|
|
6169
|
+
afterFlush(callback) {
|
|
6170
|
+
this._flushFns.push(callback);
|
|
6171
|
+
}
|
|
6100
6172
|
/**
|
|
6101
6173
|
* @param {?} callback
|
|
6102
6174
|
* @return {?}
|
|
6103
6175
|
*/
|
|
6104
|
-
afterFlushAnimationsDone(callback) {
|
|
6176
|
+
afterFlushAnimationsDone(callback) {
|
|
6177
|
+
this._whenQuietFns.push(callback);
|
|
6178
|
+
}
|
|
6105
6179
|
/**
|
|
6106
6180
|
* @private
|
|
6107
6181
|
* @param {?} element
|
|
@@ -6315,7 +6389,9 @@ class TransitionAnimationEngine {
|
|
|
6315
6389
|
* @param {?} element
|
|
6316
6390
|
* @return {?}
|
|
6317
6391
|
*/
|
|
6318
|
-
element => {
|
|
6392
|
+
element => {
|
|
6393
|
+
getOrSetAsInMap(skippedPlayersMap, element, []).push(player);
|
|
6394
|
+
}));
|
|
6319
6395
|
return player;
|
|
6320
6396
|
}
|
|
6321
6397
|
/**
|
|
@@ -6435,12 +6511,16 @@ class TransitionAnimationPlayer {
|
|
|
6435
6511
|
/**
|
|
6436
6512
|
* @return {?}
|
|
6437
6513
|
*/
|
|
6438
|
-
getRealPlayer() {
|
|
6514
|
+
getRealPlayer() {
|
|
6515
|
+
return this._player;
|
|
6516
|
+
}
|
|
6439
6517
|
/**
|
|
6440
6518
|
* @param {?} totalTime
|
|
6441
6519
|
* @return {?}
|
|
6442
6520
|
*/
|
|
6443
|
-
overrideTotalTime(totalTime) {
|
|
6521
|
+
overrideTotalTime(totalTime) {
|
|
6522
|
+
((/** @type {?} */ (this))).totalTime = totalTime;
|
|
6523
|
+
}
|
|
6444
6524
|
/**
|
|
6445
6525
|
* @param {?} player
|
|
6446
6526
|
* @return {?}
|
|
@@ -6505,27 +6585,39 @@ class TransitionAnimationPlayer {
|
|
|
6505
6585
|
/**
|
|
6506
6586
|
* @return {?}
|
|
6507
6587
|
*/
|
|
6508
|
-
init() {
|
|
6588
|
+
init() {
|
|
6589
|
+
this._player.init();
|
|
6590
|
+
}
|
|
6509
6591
|
/**
|
|
6510
6592
|
* @return {?}
|
|
6511
6593
|
*/
|
|
6512
|
-
hasStarted() {
|
|
6594
|
+
hasStarted() {
|
|
6595
|
+
return this.queued ? false : this._player.hasStarted();
|
|
6596
|
+
}
|
|
6513
6597
|
/**
|
|
6514
6598
|
* @return {?}
|
|
6515
6599
|
*/
|
|
6516
|
-
play() {
|
|
6600
|
+
play() {
|
|
6601
|
+
!this.queued && this._player.play();
|
|
6602
|
+
}
|
|
6517
6603
|
/**
|
|
6518
6604
|
* @return {?}
|
|
6519
6605
|
*/
|
|
6520
|
-
pause() {
|
|
6606
|
+
pause() {
|
|
6607
|
+
!this.queued && this._player.pause();
|
|
6608
|
+
}
|
|
6521
6609
|
/**
|
|
6522
6610
|
* @return {?}
|
|
6523
6611
|
*/
|
|
6524
|
-
restart() {
|
|
6612
|
+
restart() {
|
|
6613
|
+
!this.queued && this._player.restart();
|
|
6614
|
+
}
|
|
6525
6615
|
/**
|
|
6526
6616
|
* @return {?}
|
|
6527
6617
|
*/
|
|
6528
|
-
finish() {
|
|
6618
|
+
finish() {
|
|
6619
|
+
this._player.finish();
|
|
6620
|
+
}
|
|
6529
6621
|
/**
|
|
6530
6622
|
* @return {?}
|
|
6531
6623
|
*/
|
|
@@ -6536,7 +6628,9 @@ class TransitionAnimationPlayer {
|
|
|
6536
6628
|
/**
|
|
6537
6629
|
* @return {?}
|
|
6538
6630
|
*/
|
|
6539
|
-
reset() {
|
|
6631
|
+
reset() {
|
|
6632
|
+
!this.queued && this._player.reset();
|
|
6633
|
+
}
|
|
6540
6634
|
/**
|
|
6541
6635
|
* @param {?} p
|
|
6542
6636
|
* @return {?}
|
|
@@ -6549,7 +6643,9 @@ class TransitionAnimationPlayer {
|
|
|
6549
6643
|
/**
|
|
6550
6644
|
* @return {?}
|
|
6551
6645
|
*/
|
|
6552
|
-
getPosition() {
|
|
6646
|
+
getPosition() {
|
|
6647
|
+
return this.queued ? 0 : this._player.getPosition();
|
|
6648
|
+
}
|
|
6553
6649
|
/**
|
|
6554
6650
|
* \@internal
|
|
6555
6651
|
* @param {?} phaseName
|
|
@@ -6980,7 +7076,7 @@ class AnimationEngine {
|
|
|
6980
7076
|
/** @type {?} */
|
|
6981
7077
|
const ast = (/** @type {?} */ (buildAnimationAst(this._driver, (/** @type {?} */ (metadata)), errors)));
|
|
6982
7078
|
if (errors.length) {
|
|
6983
|
-
throw new Error(`The animation trigger "${name}" has failed to build due to the following errors:\n - ${errors.join(
|
|
7079
|
+
throw new Error(`The animation trigger "${name}" has failed to build due to the following errors:\n - ${errors.join('\n - ')}`);
|
|
6984
7080
|
}
|
|
6985
7081
|
trigger = buildTrigger(name, ast);
|
|
6986
7082
|
this._triggerCache[cacheKey] = trigger;
|
|
@@ -7069,7 +7165,9 @@ class AnimationEngine {
|
|
|
7069
7165
|
* @param {?=} microtaskId
|
|
7070
7166
|
* @return {?}
|
|
7071
7167
|
*/
|
|
7072
|
-
flush(microtaskId = -1) {
|
|
7168
|
+
flush(microtaskId = -1) {
|
|
7169
|
+
this._transitionEngine.flush(microtaskId);
|
|
7170
|
+
}
|
|
7073
7171
|
/**
|
|
7074
7172
|
* @return {?}
|
|
7075
7173
|
*/
|
|
@@ -7080,7 +7178,9 @@ class AnimationEngine {
|
|
|
7080
7178
|
/**
|
|
7081
7179
|
* @return {?}
|
|
7082
7180
|
*/
|
|
7083
|
-
whenRenderingDone() {
|
|
7181
|
+
whenRenderingDone() {
|
|
7182
|
+
return this._transitionEngine.whenRenderingDone();
|
|
7183
|
+
}
|
|
7084
7184
|
}
|
|
7085
7185
|
if (false) {
|
|
7086
7186
|
/**
|
|
@@ -7341,11 +7441,15 @@ class ElementAnimationStyleHandler {
|
|
|
7341
7441
|
/**
|
|
7342
7442
|
* @return {?}
|
|
7343
7443
|
*/
|
|
7344
|
-
pause() {
|
|
7444
|
+
pause() {
|
|
7445
|
+
playPauseAnimation(this._element, this._name, 'paused');
|
|
7446
|
+
}
|
|
7345
7447
|
/**
|
|
7346
7448
|
* @return {?}
|
|
7347
7449
|
*/
|
|
7348
|
-
resume() {
|
|
7450
|
+
resume() {
|
|
7451
|
+
playPauseAnimation(this._element, this._name, 'running');
|
|
7452
|
+
}
|
|
7349
7453
|
/**
|
|
7350
7454
|
* @param {?} position
|
|
7351
7455
|
* @return {?}
|
|
@@ -7359,7 +7463,9 @@ class ElementAnimationStyleHandler {
|
|
|
7359
7463
|
/**
|
|
7360
7464
|
* @return {?}
|
|
7361
7465
|
*/
|
|
7362
|
-
getPosition() {
|
|
7466
|
+
getPosition() {
|
|
7467
|
+
return this._position;
|
|
7468
|
+
}
|
|
7363
7469
|
/**
|
|
7364
7470
|
* @private
|
|
7365
7471
|
* @param {?} event
|
|
@@ -7601,7 +7707,10 @@ const DEFAULT_FILL_MODE = 'forwards';
|
|
|
7601
7707
|
const DEFAULT_EASING = 'linear';
|
|
7602
7708
|
/** @enum {number} */
|
|
7603
7709
|
const AnimatorControlState = {
|
|
7604
|
-
INITIALIZED: 1,
|
|
7710
|
+
INITIALIZED: 1,
|
|
7711
|
+
STARTED: 2,
|
|
7712
|
+
FINISHED: 3,
|
|
7713
|
+
DESTROYED: 4,
|
|
7605
7714
|
};
|
|
7606
7715
|
class CssKeyframesPlayer {
|
|
7607
7716
|
/**
|
|
@@ -7636,17 +7745,23 @@ class CssKeyframesPlayer {
|
|
|
7636
7745
|
* @param {?} fn
|
|
7637
7746
|
* @return {?}
|
|
7638
7747
|
*/
|
|
7639
|
-
onStart(fn) {
|
|
7748
|
+
onStart(fn) {
|
|
7749
|
+
this._onStartFns.push(fn);
|
|
7750
|
+
}
|
|
7640
7751
|
/**
|
|
7641
7752
|
* @param {?} fn
|
|
7642
7753
|
* @return {?}
|
|
7643
7754
|
*/
|
|
7644
|
-
onDone(fn) {
|
|
7755
|
+
onDone(fn) {
|
|
7756
|
+
this._onDoneFns.push(fn);
|
|
7757
|
+
}
|
|
7645
7758
|
/**
|
|
7646
7759
|
* @param {?} fn
|
|
7647
7760
|
* @return {?}
|
|
7648
7761
|
*/
|
|
7649
|
-
onDestroy(fn) {
|
|
7762
|
+
onDestroy(fn) {
|
|
7763
|
+
this._onDestroyFns.push(fn);
|
|
7764
|
+
}
|
|
7650
7765
|
/**
|
|
7651
7766
|
* @return {?}
|
|
7652
7767
|
*/
|
|
@@ -7711,15 +7826,21 @@ class CssKeyframesPlayer {
|
|
|
7711
7826
|
* @param {?} value
|
|
7712
7827
|
* @return {?}
|
|
7713
7828
|
*/
|
|
7714
|
-
setPosition(value) {
|
|
7829
|
+
setPosition(value) {
|
|
7830
|
+
this._styler.setPosition(value);
|
|
7831
|
+
}
|
|
7715
7832
|
/**
|
|
7716
7833
|
* @return {?}
|
|
7717
7834
|
*/
|
|
7718
|
-
getPosition() {
|
|
7835
|
+
getPosition() {
|
|
7836
|
+
return this._styler.getPosition();
|
|
7837
|
+
}
|
|
7719
7838
|
/**
|
|
7720
7839
|
* @return {?}
|
|
7721
7840
|
*/
|
|
7722
|
-
hasStarted() {
|
|
7841
|
+
hasStarted() {
|
|
7842
|
+
return this._state >= 2 /* STARTED */;
|
|
7843
|
+
}
|
|
7723
7844
|
/**
|
|
7724
7845
|
* @return {?}
|
|
7725
7846
|
*/
|
|
@@ -7996,7 +8117,9 @@ class CssKeyframesDriver {
|
|
|
7996
8117
|
* @param {?} prop
|
|
7997
8118
|
* @return {?}
|
|
7998
8119
|
*/
|
|
7999
|
-
validateStyleProperty(prop) {
|
|
8120
|
+
validateStyleProperty(prop) {
|
|
8121
|
+
return validateStyleProperty(prop);
|
|
8122
|
+
}
|
|
8000
8123
|
/**
|
|
8001
8124
|
* @param {?} element
|
|
8002
8125
|
* @param {?} selector
|
|
@@ -8010,7 +8133,9 @@ class CssKeyframesDriver {
|
|
|
8010
8133
|
* @param {?} elm2
|
|
8011
8134
|
* @return {?}
|
|
8012
8135
|
*/
|
|
8013
|
-
containsElement(elm1, elm2) {
|
|
8136
|
+
containsElement(elm1, elm2) {
|
|
8137
|
+
return containsElement(elm1, elm2);
|
|
8138
|
+
}
|
|
8014
8139
|
/**
|
|
8015
8140
|
* @param {?} element
|
|
8016
8141
|
* @param {?} selector
|
|
@@ -8309,17 +8434,23 @@ class WebAnimationsPlayer {
|
|
|
8309
8434
|
* @param {?} fn
|
|
8310
8435
|
* @return {?}
|
|
8311
8436
|
*/
|
|
8312
|
-
onStart(fn) {
|
|
8437
|
+
onStart(fn) {
|
|
8438
|
+
this._onStartFns.push(fn);
|
|
8439
|
+
}
|
|
8313
8440
|
/**
|
|
8314
8441
|
* @param {?} fn
|
|
8315
8442
|
* @return {?}
|
|
8316
8443
|
*/
|
|
8317
|
-
onDone(fn) {
|
|
8444
|
+
onDone(fn) {
|
|
8445
|
+
this._onDoneFns.push(fn);
|
|
8446
|
+
}
|
|
8318
8447
|
/**
|
|
8319
8448
|
* @param {?} fn
|
|
8320
8449
|
* @return {?}
|
|
8321
8450
|
*/
|
|
8322
|
-
onDestroy(fn) {
|
|
8451
|
+
onDestroy(fn) {
|
|
8452
|
+
this._onDestroyFns.push(fn);
|
|
8453
|
+
}
|
|
8323
8454
|
/**
|
|
8324
8455
|
* @return {?}
|
|
8325
8456
|
*/
|
|
@@ -8385,7 +8516,9 @@ class WebAnimationsPlayer {
|
|
|
8385
8516
|
/**
|
|
8386
8517
|
* @return {?}
|
|
8387
8518
|
*/
|
|
8388
|
-
hasStarted() {
|
|
8519
|
+
hasStarted() {
|
|
8520
|
+
return this._started;
|
|
8521
|
+
}
|
|
8389
8522
|
/**
|
|
8390
8523
|
* @return {?}
|
|
8391
8524
|
*/
|
|
@@ -8409,15 +8542,21 @@ class WebAnimationsPlayer {
|
|
|
8409
8542
|
* @param {?} p
|
|
8410
8543
|
* @return {?}
|
|
8411
8544
|
*/
|
|
8412
|
-
setPosition(p) {
|
|
8545
|
+
setPosition(p) {
|
|
8546
|
+
this.domPlayer.currentTime = p * this.time;
|
|
8547
|
+
}
|
|
8413
8548
|
/**
|
|
8414
8549
|
* @return {?}
|
|
8415
8550
|
*/
|
|
8416
|
-
getPosition() {
|
|
8551
|
+
getPosition() {
|
|
8552
|
+
return this.domPlayer.currentTime / this.time;
|
|
8553
|
+
}
|
|
8417
8554
|
/**
|
|
8418
8555
|
* @return {?}
|
|
8419
8556
|
*/
|
|
8420
|
-
get totalTime() {
|
|
8557
|
+
get totalTime() {
|
|
8558
|
+
return this._delay + this._duration;
|
|
8559
|
+
}
|
|
8421
8560
|
/**
|
|
8422
8561
|
* @return {?}
|
|
8423
8562
|
*/
|
|
@@ -8540,7 +8679,9 @@ class WebAnimationsDriver {
|
|
|
8540
8679
|
* @param {?} prop
|
|
8541
8680
|
* @return {?}
|
|
8542
8681
|
*/
|
|
8543
|
-
validateStyleProperty(prop) {
|
|
8682
|
+
validateStyleProperty(prop) {
|
|
8683
|
+
return validateStyleProperty(prop);
|
|
8684
|
+
}
|
|
8544
8685
|
/**
|
|
8545
8686
|
* @param {?} element
|
|
8546
8687
|
* @param {?} selector
|
|
@@ -8554,7 +8695,9 @@ class WebAnimationsDriver {
|
|
|
8554
8695
|
* @param {?} elm2
|
|
8555
8696
|
* @return {?}
|
|
8556
8697
|
*/
|
|
8557
|
-
containsElement(elm1, elm2) {
|
|
8698
|
+
containsElement(elm1, elm2) {
|
|
8699
|
+
return containsElement(elm1, elm2);
|
|
8700
|
+
}
|
|
8558
8701
|
/**
|
|
8559
8702
|
* @param {?} element
|
|
8560
8703
|
* @param {?} selector
|
|
@@ -8577,7 +8720,9 @@ class WebAnimationsDriver {
|
|
|
8577
8720
|
* @param {?} supported
|
|
8578
8721
|
* @return {?}
|
|
8579
8722
|
*/
|
|
8580
|
-
overrideWebAnimationsSupport(supported) {
|
|
8723
|
+
overrideWebAnimationsSupport(supported) {
|
|
8724
|
+
this._isNativeImpl = supported;
|
|
8725
|
+
}
|
|
8581
8726
|
/**
|
|
8582
8727
|
* @param {?} element
|
|
8583
8728
|
* @param {?} keyframes
|