Angular freeze SVG animation on initial loading screen

前端 未结 1 1844
夕颜
夕颜 2021-01-22 16:39

I want to play an animation when browser is loading scripts and other assets of Angular 5.

For example this SVG animation:



        
1条回答
  •  温柔的废话
    2021-01-22 16:39

    Browser rendering page as single-threaded. And some of CSS animated properties could be freeze all animation when heavy js-script is executing.

    Here more details about animation rendering.

    If you are using SVG, animate it with tag

    0 讨论(0)
提交回复
热议问题