File

projects/m2-core/src/lib/model/search/Facet.ts

Implements

SelectableNode

Index

Properties
Methods

Constructor

constructor(id?: ID, discrete?: boolean, value?: any, count?: number, facetState?: CheckBoxState, valueFormatted?: string)
Parameters :
Name Type Optional
id ID Yes
discrete boolean Yes
value any Yes
count number Yes
facetState CheckBoxState Yes
valueFormatted string Yes

Properties

Public checked
Type : boolean
Public Optional children
Type : Facet<ID>[]
Public count
Type : number
Public discrete
Type : boolean
Public facetState
Type : CheckBoxState
Public Optional hasChildren
Type : boolean
Public id
Type : ID
Public Optional isExpanded
Type : boolean
Public noValueFacet
Type : boolean
Public partial
Type : boolean
Public restrictiveCondition
Type : RestrictiveCondition
Public value
Type : any
Public valueFormatted
Type : string
Public valueMax
Type : any
Public valueMaxFormatted
Type : string

Methods

Static formatSrvNoValueFacet
formatSrvNoValueFacet(noValuesFacet: Facet)
Parameters :
Name Type Optional
noValuesFacet Facet No
Returns : void
Static isNoValueFacet
isNoValueFacet(facet: Facet)

Formatting

Parameters :
Name Type Optional
facet Facet No
Returns : boolean

results matching ""

    No results matching ""