Thanks @Teodor. I’ll do that moving forward, i always pasted screenshots as i thought it would be easier to see the code with the formatting from the code view
Anyway, that didn’t work as i thought at first, but only because i wanted viewport instead of device, as the device width never changed (always returned 2,560 due to my monitor. 4K incidentally, but with 150% windows scaling, it returned 2,560px)
Once i changed to view port and used your code it worked as i wanted. Thanks.
dmx-bind:value="browser.viewport.width > 768 ? 1 : 0"
Thanks again.