Shouldn't directives that take other elements as a value be consistent #3876
ssang
started this conversation in
3. Feature Ideas
Replies: 1 comment
-
I do agree. It should use a selector, or even a more bespoke connecting of the targets. Not a great api decision for sure. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
With the release of the Anchor plugin, I'm confused as to why this one takes a reference to an HTML element while
x-teleport
takes in a string to pass ontodocument.querySelector()
. I feel like since these are used in a similar fashion, the type of value that is passed should be consistent. Are there any plans for the next release to allowx-teleport
to take an HTML element as the value as that's been requested before?Beta Was this translation helpful? Give feedback.
All reactions