Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI bonus effect for image preloader: instead of IF try doing animated opacity #81

Closed
getneil opened this issue Dec 9, 2022 · 1 comment

Comments

@getneil
Copy link
Contributor

getneil commented Dec 9, 2022

atm image preloader works this way

if imageLoaded
    show image
else
    show preloader

it will be nicer, to put the placeholder on top then animate to opacity:0

like

<img />
<placeholder class={isLoaded? 'opacity:0':'opacity:1'} />
@getneil
Copy link
Contributor Author

getneil commented May 3, 2023

this is done

@getneil getneil closed this as completed May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant