-
v-model="config.VariableName"This defines the variable to be modified. -
@change="update()"This defines the function to be run on value change
<switch-checkbox v-model="config.enabled" @change="update()">Enabled</switch-checkbox><input type="text" class="w3" v-model="config.speedThreshold" @change="update()">