arlas-wui-toolkit / Exports / AnalyticsMenuComponent
Class: AnalyticsMenuComponent
Implements
OnInit
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new AnalyticsMenuComponent(analyticsService
)
Parameters
Name | Type |
---|---|
analyticsService |
AnalyticsService |
Defined in
projects/arlas-toolkit/src/lib/components/analytics/analytics-menu/analytics-menu.component.ts:51
Properties
analyticsService
• analyticsService: AnalyticsService
Defined in
projects/arlas-toolkit/src/lib/components/analytics/analytics-menu/analytics-menu.component.ts:52
groups
• groups: AnalyticGroupConfiguration
[]
Input
: Angular
Description
List of groups. Each group contains one or more widgets.
Defined in
projects/arlas-toolkit/src/lib/components/analytics/analytics-menu/analytics-menu.component.ts:43
showIndicators
• showIndicators: boolean
= false
Input
: Angular
Description
Whether to show the indicator of filters applied on this tab.
Defined in
projects/arlas-toolkit/src/lib/components/analytics/analytics-menu/analytics-menu.component.ts:49
tabIndexByDefault
• Optional
tabIndexByDefault: number
Input
: Angular
Description
If no tab is selected based on the url, indicates which tab index to select by default. If none is supplied, then no tab is displayed by default
Defined in
projects/arlas-toolkit/src/lib/components/analytics/analytics-menu/analytics-menu.component.ts:37
Methods
ngOnInit
▸ ngOnInit(): void
Returns
void
Implementation of
OnInit.ngOnInit
Defined in
projects/arlas-toolkit/src/lib/components/analytics/analytics-menu/analytics-menu.component.ts:55
removeTabFilter
▸ removeTabFilter(tabId
, event
): void
Remove all the filters linked to the contributors of the clicked tab
Parameters
Name | Type | Description |
---|---|---|
tabId |
string |
The name of the tab clicked |
event |
any |
The click event fired when clicked |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/analytics/analytics-menu/analytics-menu.component.ts:85
selectTab
▸ selectTab(index
): void
Method called when clicking on a tab to select or unselect it. If already selected, unselects it.
Parameters
Name | Type | Description |
---|---|---|
index |
number |
Index of the tab selected in the list of tabs |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/analytics/analytics-menu/analytics-menu.component.ts:76