I have created custom html+js slidebar using noUiSlider (js library) , inside HTML code block.
It works correctly, everying is ok.
Then I wanted to add a text block, representing a value of this slider.
This library has an onUpdate event, which is toggled obviosly on update of slider’s position.
Inside onUpdate function I wanted to use velo ($w) in order to send a message to my target text block. But unfortunatly I am getting a error.
This is what code looks like
Error is displayed in console
Any ideas how to make it work?