New
-
Now works with vue-devtools 2.0.0!
-
Properly support number keyCodes and custom keyCodes in
v-on
. Custom keyCodes can be defined inVue.config.keyCodes
:Vue.config.keyCodes.a = 65
<input @keyup.a="aPressed">
-
The
binding
object in custom directive hooks now exposes the raw expression as a string:<div v-custom="msg"></div>
Vue.directive('custom', { bind (el, binding) { console.log(binding.expression) // "msg" } })