Search code examples
javascriptschemamozillaaframe

What are all the "hidden" schema types from A-Frame?


I've been checking the property types and some Github code (which I've completely forgotten where it is). The latter has shown different properties for the schema such as a "min" and "max" for numbers; a list of options for the string. I find them to be extremely helpful on defining certain characteristics.

Unfortunately, I haven't been able to spot them in the documentation. Where can I get a list that showcases all these "hidden" types?


Solution

  • They are for the A-Frame Inspector to populate sliders and dropdowns. Here are all of them:

    min (number) max (number) oneOf (dropdown)