-
Notifications
You must be signed in to change notification settings - Fork 50
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
Remove fullscreen label #19
Comments
Hi, have you tried using the attribute
|
The above does not work for me... I'm still seeing the footer after adding hideFooter=true |
Hello, it works now.
|
The issue is the footer Unity.vue component doesn't match the index.html and Alternatively you could opt to not include the On a side note, I tried to just edit the source template but it didn't seem to change anything for some reason. I tried rerunning the dev script and also deleting any service workers so I'm kind of confused there... I assume it has something to do with the JavaScript file that comes with the package. <!-- the components footer html as is-->
<div class="footer" v-if="hideFooter !== true">
<a class="fullscreen" @click.prevent="fullscreen">Fullscreen</a>
</div> mounted() {
document.querySelector('.fullscreen').textContent = ''
}, |
Just in mounted function , use this code, set it to be hidden: mounted() {
// hide fullScreen
const fullScreenEl = document.querySelector('.fullscreen');
fullScreenEl.style.display = 'none';
} |
Hello there!
Is there a way to remove the fullscreen label or edit its styling? The standard fullscreen label is clashing with my footer.
Still: thank you for this awesome component, you saved me a lot of time!
Have a great day
The text was updated successfully, but these errors were encountered: