Hey guys, great work. I'm using IonLoading like following
# General map loading
IonLoading.show({
customTemplate: '<h3>Loading…</h3><p>We are retrieving the map details ...</p>',
})
At some point in the App an error might occur so I want to change the customTemplate, the best solution for me was to IonLoading.hide() and then IonLoading.show() with a new template.
# If there's any error showing up before
IonLoading.hide()
# Error shows up
IonLoading.show({
customTemplate: "<h3>Error</h3><p>We weren't able to retrieve the map details ...</p>",
});
But there's a problem, when the IonLoading.show() occurs there are now 2 IonLoading showing up on the page, looks like a mess, did I do something wrong ?
My guess is it's an issue or a big limit of this feature (I checked the code and as a beginner with Ionic and Meteor I couldn't understand plainly how it works)
Hey guys, great work. I'm using IonLoading like following
At some point in the App an error might occur so I want to change the
customTemplate
, the best solution for me was toIonLoading.hide()
and thenIonLoading.show()
with a new template.But there's a problem, when the IonLoading.show() occurs there are now 2 IonLoading showing up on the page, looks like a mess, did I do something wrong ?
My guess is it's an issue or a big limit of this feature (I checked the code and as a beginner with Ionic and Meteor I couldn't understand plainly how it works)