Hi, I’ve got a problem:
How to display a GIF while a dataset is loading its data?
On a photo gallery linked to a dataset, whether it is when a user clicks on a “See more” button or chooses an option in a Dropdown, there are milliseconds or seconds for the dataset to display its datas.
I would like to display a loading GIF image during this time…
Here is the code I’ve tried, but it doesn’t work:
export function dataset1_ready() {
$w("#GIF").hide()
.then(() => {
$w("#gallery").show();
});
}
Thanks for your help!