Skip to content

The Trio in the Frontend

The trio structure is loaded to front when a new module is requested. It is a 3-level JSON object containing the complete Categories/Groups/Options structure. The trioNormalize() function flattens this object into seperate groupsObj and optionsObj objects:

The conversion makes working with the trio simpler and allow for more compact representation.