MCPcopy
hub / github.com/apache/echarts / applyPropsTransition

Function applyPropsTransition

src/animation/customGraphicTransition.ts:305–319  ·  view source on GitHub ↗
(
    el: Element,
    elOption: TransitionElementOption,
    dataIndex: number,
    model: Model<AnimationOptionMixin>,
    // Can be null/undefined
    transFromProps: ElementProps
)

Source from the content-addressed store, hash-verified

303}
304
305function 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
322function applyMiscProps(

Callers 1

applyUpdateTransitionFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…