We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@delete
attrs
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following the Migration guide from Vue 2 to Vue 3, the object $listeners was removed in favor of using eventListeners in the $attrs property.
$listeners
$attrs
However, when using the @delete event listener, the event listener does not appear in the object.
Using a different name such as @delet does the trick.
@delet
<!-- Recognized --> <GBadge :value="value" @delet="() => {}" /> <!-- Not recognized --> <GBadge :value="value" @delete="() => {}" />
EDIT: Posted this in the wrong repository... Closing.
EDIT 2: After reading the thread linked in the first comment, documentation could maybe be improved as @LinusBorg said in this reply
The text was updated successfully, but these errors were encountered:
vuejs/core#3432
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Following the Migration guide from Vue 2 to Vue 3, the object
$listeners
was removed in favor of using eventListeners in the$attrs
property.However, when using the
@delete
event listener, the event listener does not appear in the object.Using a different name such as
@delet
does the trick.<!-- Recognized --> <GBadge :value="value" @delet="() => {}" /> <!-- Not recognized --> <GBadge :value="value" @delete="() => {}" />
EDIT: Posted this in the wrong repository... Closing.
EDIT 2: After reading the thread linked in the first comment, documentation could maybe be improved as @LinusBorg said in this reply
The text was updated successfully, but these errors were encountered: