Ga naar hoofdinhoud

CnAiFloatingButton

Fixed-position floating action button that opens the AI Chat Companion panel. Rendered by CnAiCompanion.

Props​

PropTypeRequiredDefaultNotes
positionStringNo'bottom-right'Viewport corner at which to anchor the button.
visibleBooleanNotrueControls button visibility. Set to false while the chat panel is open so the FAB does not visually compete.

Events​

EventPayloadDescription
click—Emitted when the button is activated; CnAiCompanion toggles the panel open.

Reference​