A Lightning component that includes a Skuid page will often render the Skuid page later than the rest of the component. This is often quite a short delay but is sometimes more pronounced. I was wondering if there was a way of checking to see if the Skuid page bit had rendered and conditionally displaying a loading wheel (or something like that) whilst the Skuid page is loading?
Lightning: Any way to check if the Skuid page in a component is rendered and display a 'loading' eff
What version of Skuid? Should be working in version 10.0.6. It wasn’t showing the “Loading…” text up until this time. See this post.
Yo - this is for a lightning component that includes a Skuid page - rather than a Skuid page including a Skuid page:
Something like this:
<aura:component> <aura:if isTrue="Skuid-page-has-rendered"> <skuid:page page="Lovely_Skuid_Page" /> <aura:set attribute="else"> Some-Loading-Wheel-Thing </aura:set> </aura:if> </aura:component>
Yeah … ok.
That’s a good idea. So use blockui and turn it off when an event is published from the Skuid page to the surrounding lightning component? Feels like a weekend project… I’ll take a look!
Oh wow - I just saw this - somehow missed it in my search: https://community.skuid.com/t/is-it-possible-to-render-a-lightning-component-spinner-slds…
This looks to do the trick.