vue-slicksort icon indicating copy to clipboard operation
vue-slicksort copied to clipboard

HTMLElement type for SlickList `appendTo` prop

Open Geloosa opened this issue 1 year ago • 0 comments

Hey @Jexordexan, could you please add support for HTMLElement in SlickList's appendTo prop? Query selector doesn't work in Shadow DOM, as there's no way to select an element inside it just by a string, but a call to shadow host element's shadowRoot is required: document.querySelector("shadowHostSelector").shadowRoot.querySelector("appendToSelector"). So it'd be nice to be able to pass an HTMLElement reference directly.

Geloosa avatar Apr 20 '23 12:04 Geloosa