跳转到内容

pivotick v3.0.0


拓展 / 拓展 / PivotFacet

接口: PivotFacet ​

定义于:interfaces/Pivot.ts:328

一种缩小控制范围,由提供者声明并由库呈现 - 与过滤器面板所说的相同方面词汇。

属性 ​

default? ​

optional default: string | boolean | string[]

定义于:interfaces/Pivot.ts:342

当缩小中不存在此键时,提供者会执行什么操作,绘制为构面的起始值并且值清除缩小返回。 multiselect 取所选择的选项值,select 一个值,boolean true 或 false。当构面保持其默认值时,该键仍被排除在缩小范围之外,因此提供者必须将“缺席”视为该值。默认情况下的空multiselect将作为[]发送,即none。


key ​

key: string

定义于:interfaces/Pivot.ts:329


label ​

label: string

定义于:interfaces/Pivot.ts:330


options? ​

optional options: object[]

定义于:interfaces/Pivot.ts:333

对于 select / multiselect。给出时,选项旁边会显示 count。

count? ​

optional count: number

label ​

label: string

value ​

value: string


type ​

type: NarrowingFacetType

定义于:interfaces/Pivot.ts:331