Skip to content

v-on modifier .once triggers handler at most once... per what? #3033

Open
@nekomachi-touge

Description

@nekomachi-touge

- `.once` - trigger handler at most once.

I found the statement above unclear, because this could imply the listener would be called once per:

  • an event,
  • a mount,
  • an update or
  • a span in lifecycle (possibly specified somewhere).

This could lead readers to assume the semantics or simply avoid using this modifier not to cause confusion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions