show loader when dom is rendering in Angular

Viewed 317

I have a large sized form that I need to show using ngif if user checks on a checkbox.

The problem is that the form takes some time to render to the screen. If the user toggles the checkbox repeatedly, the application hangs for a bit before it can show the form.

I need to either pause user interactivity or show a loader that indicates that the form is rendering. Any help?

0 Answers
Related