Uploaded image for project: 'SonarHTML'
  1. SonarHTML
  2. SONARHTML-114

FN on S1082 (MouseEventWithoutKeyboardEquivalentCheck) when using VueJS event bindings

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Rules
    • Labels:
      None

      Description

      VueJS has specific syntaxes binding events in HTML templates:

      <!-- full syntax -->
      <a v-on:click="doSomething"> ... </a>
      
      <!-- shorthand -->
      <a @click="doSomething"> ... </a>
      
      <!-- shorthand with dynamic argument (2.6.0+) -->
      <a @[event]="doSomething"> ... </a>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.gumowski Michael Gumowski
              Reporter:
              nicolas.harraudeau Nicolas Harraudeau (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: