ng-lottie icon indicating copy to clipboard operation
ng-lottie copied to clipboard

Cannot read property 'nativeElement' of undefined

Open YaakovHatam opened this issue 3 years ago • 2 comments

at LottieAnimationViewComponent.ngOnInit (lottieAnimationView.component.ts:30)

maybe ngAfterViewInit is better then ngOnInit

YaakovHatam avatar Mar 17 '21 09:03 YaakovHatam

me too!

LottieAnimationViewComponent.ngOnInit is "nativeElement" Thanks to ngAfterViewInit! thanks

salada17 avatar Apr 23 '21 10:04 salada17

@salada17 take a look at my pull request #85 , maybe there is more changes to do.

YaakovHatam avatar Apr 25 '21 08:04 YaakovHatam