Follow-up from "Issue discussions Vue refactor"
The following discussion from !12069 (merged) should be addressed:
-
@mikegreiling started a discussion: This may seem like a nitpick, but I think we should have a naming standard for events like these.
The native DOM events are all named according to the event, not named as an "action" taken on that event (e.g.
@clickor@scroll)Shouldn't these events just be named
editanddeleteinstead ofhandleEditandhandleDelete? The emit statements would bethis.$emit('edit');because the "event" in question is that something was "edited", not that something has handled the edit. The edit is handled by something that listens to the event, not the event itself.