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:32

Properties

analyticsService

analyticsService: AnalyticsService

Defined in

projects/arlas-toolkit/src/lib/components/analytics/analytics-menu/analytics-menu.component.ts:33


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:24


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:30


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:18

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:36


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:66


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:57