pycodestyle icon indicating copy to clipboard operation
pycodestyle copied to clipboard

on:connection is a property of Anchor not Node

Open MadeWithStone opened this issue 1 year ago • 1 comments

Per the Svelvet documentation here https://svelvet.mintlify.app/components/node, the on:connection function binding is a property of a Node but when using it as such nothing happens. When applying the same on:connection binding to an Anchor it works perfectly which makes sense logically. I think the docs could use a little update clarifying the on:connection callback since it is unclear.

Thanks for the work everyone, really enjoying using it!

MadeWithStone avatar Jul 15 '23 01:07 MadeWithStone

Updated the docs. Thanks for catching this. I'm going to leave this issue open as a reminder that I do actually want to have an on:connection event on the Node component eventually.

briangregoryholmes avatar Jul 19 '23 03:07 briangregoryholmes