跳转到内容

pivotick v3.0.0


拓展 / GraphUI / BusyIndicatorOptions

接口: BusyIndicatorOptions ​

定义于:interfaces/GraphUI.ts:329

UI.busyIndicator:异步钩子运行时显示的提示。

它位于 onBeforeEdgeCreate 预览边缘的末端,onBeforeNodeCreate 的放置点,以及画布的底部中心。如图所示,图的根带有 data-pvt-busy。

延伸 ​

属性 ​

delay? ​

optional delay: number

定义于:interfaces/GraphUI.ts:335

显示任何内容之前要等待几毫秒,因此快速挂钩永远不会闪烁。每次打开的钩子关闭时都会再次应用。

默认值 ​

ts
200

enabled? ​

optional enabled: boolean

定义于:interfaces/GraphUI.ts:30

默认值 ​

ts
true

继承自 ​

FeatureToggle.enabled


label? ​

optional label: string

定义于:interfaces/GraphUI.ts:341

宣布采用辅助技术,并显示在底部中心的旋转器旁边。

默认值 ​

ts
'Waiting…'