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

Function initProps

src/animation/basicTransition.ts:241–250  ·  view source on GitHub ↗
(
    el: Element<Props>,
    props: Props,
    animatableModel?: Model<AnimationOptionMixin>,
    dataIndex?: AnimateOrSetPropsOption['dataIndex'] | AnimateOrSetPropsOption['cb'] | AnimateOrSetPropsOption,
    cb?: AnimateOrSetPropsOption['cb'] | AnimateOrSetPropsOption['during'],
    during?: AnimateOrSetPropsOption['during']
)

Source from the content-addressed store, hash-verified

239 * animation starts, unless you know what you are doing.
240 */
241export function initProps<Props extends ElementProps>(
242 el: Element<Props>,
243 props: Props,
244 animatableModel?: Model<AnimationOptionMixin>,
245 dataIndex?: AnimateOrSetPropsOption['dataIndex'] | AnimateOrSetPropsOption['cb'] | AnimateOrSetPropsOption,
246 cb?: AnimateOrSetPropsOption['cb'] | AnimateOrSetPropsOption['during'],
247 during?: AnimateOrSetPropsOption['during']
248) {
249 animateOrSetProps('enter', el, props, animatableModel, dataIndex, cb, during);
250}
251
252/**
253 * If element is removed.

Callers 3

_renderNormalMethod · 0.85
_animateLabelsMethod · 0.85
fadeInElementFunction · 0.85

Calls 1

animateOrSetPropsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…