I only see the code that displays the skeleton in the document. How can it be combined with the component that you want to load and complete the displ

I only see the code that displays the skeleton in the document. How can it be combined with the component that you want to load and complete the display?

Do you want to use V-if control yourself?





1 Reply

IS Indrajith Srinivasan Syncfusion Team September 19, 2023 08:48 AM UTC

Hi Xu Zhi bin,


Greetings from Syncfusion support,


Yes, you can control the component display by using the v-if directive in the component tag. In the below shared sample, the Listview component is loaded with the skeleton effect before the data is loaded to the component.


Sample: https://stackblitz.com/edit/hrmuef?file=src%2FApp.vue


Can you please check the above shared sample and let us know if it meets your requirement?


Regards,

Indrajith


Loader.
Up arrow icon