My guess is the second one, since various names, like ‘enum’ are called as documented there, instead of ‘enumerations’, like it is on the first link.
Seconds, and this is my main question, some of the arguments don’t seem to work, or the documentation doesn’t seem to provide enough information to make them work. I tried adding a simple slider to my stepNumber attribute. The arguments title, type, default, min and max work as expected, but the arguments step and precision don’t. They just don’t seem to do anything.
I tried various combinations of these arguments (in case they would cancel eachother out), tried it in different projects, experimented with the order of these arguments and of course their values, but nothing seems to change.
Can anyone help me and provide me with insight? Thanks
Thanks for the help. Seems that reading a documentation thoroughly would be wise, since I didn’t notice, that one has to use the arrow keys to increment a value by the step I thought the step value would also define by how much the value will change when using a slider. I hoped this way it would be possible to simulate a real integer. But i guess i can also do that by setting the precision to 0.
There are still some issues with both precision and step though. When adding the argument to the attribute and parsing the script, it works as intented. If I then change their value (e.g.: changing step: 2 to step: 3) and parse the script again, it has no effect on the script (value still gets incremented by 2). Only after refreshing the browser tab, the new values are accepted.