Not producing errors, just failing to function. The addition of this
also has no impact.
input( type="number" v-model="myData" @wheel="wheelIt($event, myData, myMethod)" )
...
methods:
{
wheelIt ( event, data, func )
{
if ( event.deltaY < 0 )
{
data += 1
func()
event.preventDefault()
}
if ( event.deltaY > 0 )
{
data -= 1
func()
event.preventDefault()
}
},
The hardcoded wheel event functions properly, but it is necessary to parameterize it.