View as Markdown

API reference: @salmonui/chat/inline-assist

InlineAssistAnchortype

import type { InlineAssistAnchor } from '@salmonui/chat/inline-assist';
type InlineAssistAnchor = Element | Range | InlineAssistPoint | RefObject<Element | null>;

What the popover is placed next to: an element, a text range (the selection), a point, or a ref to an element.