Skip to main content

Function: setLottiePlayerFactory()

setLottiePlayerFactory(factory): void

Defined in: src/mobjects/lottie/LottieMobject.ts:94

Inject a player factory, replacing the lazy-loaded lottie-web. Pass null to restore the default. Tests use this to avoid the real library.

Parameters​

factory​

LottiePlayerFactory

Returns​

void