I’m working on a chart where you can drag elements around in a div in order to arrange them however the user is fond of. I’m failing at the part of saving the position of the dragged elements. Whenever the user does mouseup a meteor method is triggered wich saves the top and left-position of that element. However I can’t figure out how to get those topPos- and leftPos inputs inside the style-attribute properly.
Oh, I’m sorry. I just tried it again and it actually works. I’m just so used to the fact that when red lines appear the app will crash. Can I somehow remove this error-indicator with the red/yellow lines for this case?
Visual Studio Code says there are 9 problems with this line. I’m able to ignore the yellow underline by checking ignore empty rulesets on the visual studio code settings but none of these settings seem to get rid of the red ones.