I need fine control over the click event on the anchor. Indeed, the e.preventDefault() does not prevent the child anchor to actually trigger a nav action.
For that matter, I need to activate the asChild property, which is present, but the builder property is not exposed in the slot.
We could modify the code, but we would end up modify the code of a bunch of shadcn-svelte components, which would prevent us to take advantage of the improvements yet to come.
Describe the feature
I use this kind of thing:
I need fine control over the click event on the anchor. Indeed, the
e.preventDefault()
does not prevent the child anchor to actually trigger a nav action. For that matter, I need to activate theasChild
property, which is present, but thebuilder
property is not exposed in the slot.We could modify the code, but we would end up modify the code of a bunch of shadcn-svelte components, which would prevent us to take advantage of the improvements yet to come.