30.04.2019, 13:40
(30.04.2019, 11:59)admin Wrote: Fixed value is not stored in data attributes. Why do you need this feature?
For the same example that I explained before.
I have seen that by modifying the example code for dimming lights, I can use it for my case. But I wanted to make a generic code, because the same object is used for many actions. I wanted to put the sending value in "send fixed value" in each object and take it in JS.
The button's to control the volume are in the LM visualisation, and i the solution that you give me, I have to create a JS to simulate the push button (1 on press, 0 on release) too.