Skip to content

pivotick v3.0.0


pivotick / InterractionCallbacks / EdgeLabelPromptOptions

Interface: EdgeLabelPromptOptions ​

Defined in: interfaces/InterractionCallbacks.ts:352

Options for EdgeCreateContext.promptLabel (and the static edgeEditor.labelPrompt).

Properties ​

initial? ​

optional initial: string

Defined in: interfaces/InterractionCallbacks.ts:356

Value the field is pre-filled with.


mode? ​

optional mode: EdgeLabelPromptMode

Defined in: interfaces/InterractionCallbacks.ts:354

'inline' = floating input at the edge midpoint, 'modal' = a modal field.

Default ​

ts
'inline'

placeholder? ​

optional placeholder: string

Defined in: interfaces/InterractionCallbacks.ts:358

Placeholder shown while empty.


title? ​

optional title: string

Defined in: interfaces/InterractionCallbacks.ts:360

Modal header (modal mode only).