Selecting Tabs

Tabs will automatically be selected when clicked.

Sometimes, a link will be clicked on your website, and this linked page coordinates to a specific tab item. For that case, you may specify a "regex" field for each tab link in the JSON, which will select that tab whenever that page loads.

/* Regex Tab Selection Example */
{
  "tabSelectionConfig": [
    {
      "id": "1",
      "regex": ".*"
    }
  ],
  "tabMenus": [
    {
      "id": "1",
      "items": [
        {
          "subLinks": [],
          "label": "Google",
          "url": "https://google.com",
          "regex": "https://google\\.com/?"
        }
      ]
    }
  ],
  "active": true
}