Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
jblew
tagDiv Member

Hi! Thanks for very quick response! 🙂 Unfortunately that’s not what I meant:

What I mean is to include the same “Raw HTML” element that displays on both mobile and desktop.

I use it to mount a vue app, so in head script I have:

<script>
window.onload=() => new Vue(...).$mount("#scrollpicker-target")
</script>

But unfortunately newspaper creates two elements with the same Id:


<div id="scrollpicker-target">Mobile</div>
<div id="scrollpicker-target">Desktop</div>

I’d like to be able to define the div only once for all screen sizes

  • This reply was modified 5 years by jblew.
Viewing 1 post (of 1 total)