ant
1
What would be the most elegant way to dynamically turn the Geo tag on/off: <dmx-geolocation>
?
There is no option in the module dynamic attribute settings.
Or are there ways to turn off any HTML element dynamically with exising Wappler components?
If you wrap it in a conditional region then it won’t render to the DOM when disabled.
ant
3
Thanks for the suggestion @Hyperbytes, makes sense and I tried this, but placing the geo component into a div stops it from functioning.
Teodor
4
What are you trying to achieve on your page?
ant
5
I would like that users are able to switch on/off their location sharing with a button.