ion-skeleton-textand another one using Angular's
*ngIflogic - when data is loading , show the skeleton text. Once the data is loaded, hide the skeleton text and show actual data. But to the user, it appears like both were connected somehow because the layout seems very similar.
content-loader2.page.html, there are two
divdepending on a variable
border-radiusto create different shaped for the loading data
ion-skeleton-textexcept the fact that it is not included in ionic package. It is more flexible that
ion-skeleton-textas you can define the origin points, width, height and two radii of the content loader SVG div.
API usagesegment of the