(
el: Element<Props>,
props: Props,
animatableModel?: Model<AnimationOptionMixin>,
dataIndex?: AnimateOrSetPropsOption['dataIndex'] | AnimateOrSetPropsOption['cb'] | AnimateOrSetPropsOption,
cb?: AnimateOrSetPropsOption['cb'] | AnimateOrSetPropsOption['during'],
during?: AnimateOrSetPropsOption['during']
)
| 239 | * animation starts, unless you know what you are doing. |
| 240 | */ |
| 241 | export 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. |
no test coverage detected
searching dependent graphs…