How to display the preloaded animation before the request to load the data, to prevent the page from being blank and to have a bad experience?

1. I am using the bootrap framework
2. I want to pre-load the animation before clicking the menu, and then display the data
3. Is there any column to share

?
Mar.18,2021

loading hide > Click the button to let loading display (display:block or switch class) while requesting data > hide loading in callback function after data loading

Menu