arlas-web-components / Exports / PowerBar

Class: PowerBar

Table of contents

Constructors

Properties

Constructors

constructor

new PowerBar(term, parentTerm, count)

Parameters

Name Type
term string
parentTerm string
count number

Defined in

projects/arlas-components/src/lib/components/powerbars/model/powerbar.ts:57

Properties

classSuffix

classSuffix: string = 'neutral-state'

Description

class name to apply to the powerbar : neutral-state, selected-bar or unselected-bar.

Defined in

projects/arlas-components/src/lib/components/powerbars/model/powerbar.ts:51


color

color: string

Description

color of the powerbar obtained from the powerbar term.

Defined in

projects/arlas-components/src/lib/components/powerbars/model/powerbar.ts:55


count

count: number

Description

Term's occurence.

Defined in

projects/arlas-components/src/lib/components/powerbars/model/powerbar.ts:34


isSelected

isSelected: boolean = false

Description

Whether the powerbar is selected.

Defined in

projects/arlas-components/src/lib/components/powerbars/model/powerbar.ts:42


parentTerm

parentTerm: string

Description

Powerbar parent node term.

Defined in

projects/arlas-components/src/lib/components/powerbars/model/powerbar.ts:30


path

path: SimpleNode[]

Description

Path from the powerbar to the parent nodes

Defined in

projects/arlas-components/src/lib/components/powerbars/model/powerbar.ts:47


progression

progression: number

Description

Powerbar progression.

Defined in

projects/arlas-components/src/lib/components/powerbars/model/powerbar.ts:38


term

term: string

Description

Powerbar term.

Defined in

projects/arlas-components/src/lib/components/powerbars/model/powerbar.ts:26