TabsPlugin
Configure to let users navigate multiple views in separate tab windows.
Passing views
Simply pass viewConfig as ViewSelectorItems through items
attribute.
"items": [
{
"type": "PLUGINS:dm-core-plugins/view_selector/ViewSelectorItem",
"label": "TabItem 1",
"viewConfig": {}
}
]
Using icons
ViewSelectorItems can also include eds icons before label. Simply pass the name of the icon in the eds_icon field.
"items": [
{
"type": "PLUGINS:dm-core-plugins/view_selector/ViewSelectorItem",
"label": "Tab Item 1",
"eds_icon": "home",
"viewConfig": {}
}
]
subItems / nested views
Every ViewSelectorItem can also receive subItems which allows you to pass viewConfigs and nest views.
"items": [
{
"type": "PLUGINS:dm-core-plugins/view_selector/ViewSelectorItem",
"label": "Tab Item 1",
"subItems": [
{
"type": "PLUGINS:dm-core-plugins/view_selector/ViewSelectorItem",
"label": "Sub Item 1",
"viewConfig": {}
}
],
"viewConfig": {}
}
]