Closed giacomoran closed 1 year ago
Hi,
Virtual elements are not supported since ReferenceAction only accepts HTMLElement.
ReferenceAction
HTMLElement
The type signature for ReferenceAction is:
type ReferenceAction = (node: HTMLElement) => void;
For instance, in svelte-popperjs the type signature is:
type ReferenceAction = ( node: Element | VirtualElement | Readable<VirtualElement> ) => { destroy?(): void; };
Do you plan to add support for virtual elements?
Hi, yes, this is a wonderful functionality Thank you for writing about him✨
It is added in the new release 1.2.7 A new block in the documentation has also been added to it🎈
Hi,
Virtual elements are not supported since
ReferenceAction
only acceptsHTMLElement
.The type signature for
ReferenceAction
is:For instance, in svelte-popperjs the type signature is:
Do you plan to add support for virtual elements?