* Utility for updating an element with new properties, using animations when appropriate. * @protected
(element, index, properties, mode)
| 896 | * @protected |
| 897 | */ |
| 898 | updateElement(element, index, properties, mode) { |
| 899 | if (isDirectUpdateMode(mode)) { |
| 900 | Object.assign(element, properties); |
| 901 | } else { |
| 902 | this._resolveAnimations(index, mode).update(element, properties); |
| 903 | } |
| 904 | } |
| 905 | |
| 906 | /** |
| 907 | * Utility to animate the shared options, that are potentially affecting multiple elements. |
no test coverage detected