接口: PivotFacet
一种缩小控制范围,由提供者声明并由库呈现 - 与过滤器面板所说的相同方面词汇。
属性
default?
optionaldefault:string|boolean|string[]
当缩小中不存在此键时,提供者会执行什么操作,绘制为构面的起始值并且值清除缩小返回。 multiselect 取所选择的选项值,select 一个值,boolean true 或 false。当构面保持其默认值时,该键仍被排除在缩小范围之外,因此提供者必须将“缺席”视为该值。默认情况下的空multiselect将作为[]发送,即none。
key
key:
string
label
label:
string
options?
optionaloptions:object[]
对于 select / multiselect。给出时,选项旁边会显示 count。
count?
optionalcount:number
label
label:
string
value
value:
string
type
type:
NarrowingFacetType