-
Notifications
You must be signed in to change notification settings - Fork 279
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
Placeholder slot for <NuxtImg>
#1307
Comments
That would be great, dealing with placeholder could be improved !! |
yes please 😀 |
@DamianGlowala I think this is an awesome idea! Please if you have time, create a PR with the implementation proposal :) |
I made a PR, but there are some tests failing. Can you check it please @DamianGlowala? This is officially my first contribution so I will be happy if someone checks it out. |
@Baroshem I have fixed the tests, added examples, and addressed your suggestions. Everything seems to be working now. |
I've been thinking of how to achieve more sophisticated placeholders using
<NuxtImg>
than what theplaceholder
prop allows for. Being able to define the placeholder in a slot would allow for greater flexibility:If this is a desirable addition, I am willing to implement it.
The text was updated successfully, but these errors were encountered: