Categories allow you to categorize your designs and filter the results when using the Designs module. To understand how a category object should be formed, refer to the following example:

var options = {
    designsCategories: [
      {
        value: 'Category 1',
        children: [
          {
            value: 'Category 3',
          }
        ]
      },
      {
        value: 'Category 2'
      }
    ]
}

var instance = new AsukaDesigner('#myId', options); // Create an instance of the main plugin class

Was this article helpful to you? Yes No

How can we help?