(
el: Element,
elOption: TransitionElementOption,
dataIndex: number,
model: Model<AnimationOptionMixin>,
// Can be null/undefined
transFromProps: ElementProps
)
| 303 | } |
| 304 | |
| 305 | function applyPropsTransition( |
| 306 | el: Element, |
| 307 | elOption: TransitionElementOption, |
| 308 | dataIndex: number, |
| 309 | model: Model<AnimationOptionMixin>, |
| 310 | // Can be null/undefined |
| 311 | transFromProps: ElementProps |
| 312 | ): void { |
| 313 | if (transFromProps) { |
| 314 | const config = getElementAnimationConfig('update', el, elOption, model, dataIndex); |
| 315 | if (config.duration > 0) { |
| 316 | el.animateFrom(transFromProps, config); |
| 317 | } |
| 318 | } |
| 319 | } |
| 320 | |
| 321 | |
| 322 | function applyMiscProps( |
no test coverage detected
searching dependent graphs…