angular - How to use SVG for inital Angular2 load -


instead of angular2's default application "loading..", svg loading spinner. possible?

yes, can replace "loading..." text inside <my-app> tags in index.html file html or svg , should render content while app loads , angular takes on rendering:

<my-app>   <svg>    <!-- svg code here...-->  </svg> </my-app> 

Comments

Popular posts from this blog

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -