angular-particlesjs icon indicating copy to clipboard operation
angular-particlesjs copied to clipboard

Particles rendering only at HostListener("window.resize")

Open DiogoLAzores opened this issue 5 years ago • 0 comments

As referred on this stackoverflow question by Timothy Louw, particles are rendered only when the HostListener("window.resize") detected changes, triggering the setCanvasSize().

Also so, setCanvasSize() should be moved from the constructor and into ngOnInit()

DiogoLAzores avatar May 24 '20 23:05 DiogoLAzores