Skip to content

Type Alias: ControllerOptions

ts
type ControllerOptions = object;

Options for the annotations control

Properties

detectMargin

ts
detectMargin: number;

The margin in which the Texts are detected when looking for magnet points


magnetHandleRadius

ts
magnetHandleRadius: number;

Display size of the magnet point


magnetRadius

ts
magnetRadius: number;

The radius in which arrows are attracted


maxArrowHeight

ts
maxArrowHeight: number;

Maximum height of the arrow in units


minArrowHeight

ts
minArrowHeight: number;

Minimum height of the arrow in units


sendButtonIcon

ts
sendButtonIcon: string;

SVG icon for the send button in text editor Should be a complete SVG string (e.g., '...')


showSendButton

ts
showSendButton: boolean;

Show send button in text editor


textPlaceholder

ts
textPlaceholder: string;

Placeholder for the text input