79793175

Date: 2025-10-17 14:55:51
Score: 1.5
Natty:
Report link

I find solution, use this code:

<Button @click="($e) => this.$refs.menu.toggle($e)" />

This seems to be a "feature" of the @click call in Primevue v4 Button components (in v3 this works without closure function).

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @click
  • Low reputation (0.5):
Posted by: Stanislav Butsenko