# vue/no-deprecated-v-on-native-modifier

disallow using deprecated .native modifiers (in Vue.js 3.0.0+)

  • ⚙️ This rule is included in all of "plugin:vue/vue3-essential", "plugin:vue/vue3-strongly-recommended" and "plugin:vue/vue3-recommended".

# 📖 Rule Details

This rule reports use of deprecated .native modifier on v-on directive (in Vue.js 3.0.0+)

<template> <!-- ✓ GOOD --> <CoolInput v-on:keydown.enter="onKeydownEnter" /> <CoolInput @keydown.enter="onKeydownEnter" /> <!-- ✗ BAD --> <CoolInput v-on:keydown.native="onKeydown" /> <CoolInput @keydown.enter.native="onKeydownEnter" /> </template>
Now loading...

# 🔧 Options

Nothing.

# 📚 Further Reading

# 🔍 Implementation