T134error

Invalid event handler

An event handler is not a function call, or uses an unknown or incompatible modifier.

p-on handlers must call a function or method. The supported modifiers are .prevent, .stop, .once, .self, .passive and .capture, and .passive cannot be combined with .prevent.

Write the handler as a call, such as save($event), and use supported modifiers.

$ piko explain T134

Build output ends each diagnostic with a link to this page, and editors using the Piko language server link the code under the squiggle. Look for CodeHandlerExpressionError in Piko's source to see where it is reported.