Closed CVarisco closed 3 years ago
Hi Christian,
Thanks for the PR. I haven't had the chance to check the fork locally, I will do that, but the example looks very cool. There are some things that I didn't like about the implementation, such as referring to the existence of a class in the parent context from within the component, which seems to be something to improve, but I'll check it in more detail once I have the time.
@karakanb thanks!
as you wish, feel free to change it!
Hi Christian,
Sorry for the late reply. For now, since there hasn't been much demand and this is not a feature I see as needed, I have decided to put this work on hold and close both the PR and the issue to show my intent. I have limited time for Devo, therefore I'd like to avoid maintaining features that I don't see needed as of now.
The work you did here may still prove valuable in case I decide to reconsider this functionality, but for now, I'll be closing the PR. Apologies for not merging your first contribution.
First thing first, thank you for your extension, is super useful 🎉
What is this?
This PR is referred to #33 and allow the user to set a background image
What has changed?
Add
<background-selector>
component capable of getting an image as input, save it in the localStorage as base64 and add asbackground-image
attribute to<div class="background">
.If the background image already exists in the localStorage, it will be used as background at component's mount.
Screenshot
Feel free to do not accept or to change it as you want.
ps: This is my first time with Vue.js 👶