pycodestyle
pycodestyle copied to clipboard
on:connection is a property of Anchor not Node
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!
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.