bn.createLottieContext
▸ createLottieContext(lottieId
): AnimationItem
description
return a lottie instance for given lottie id
remark
supported jssdk >= 4.34.0
example
const lottieContext = bn.createLottieContext('lottie')
Parameters
Name | Type |
---|---|
lottieId | string |
Returns
AnimationItem