title: Call function if switch gets toggled in VueJS/VuetifyJS
body: <p>I'm using <a href="https://vuetifyjs.com/en/components/selection-controls" rel="noreferrer">VuetifyJS</a> for VueJS and I need to call a function if the switch gets toggled. How to do that?</p>
  
  <p>Template:</p>
  
  <p></p>
  
  <pre><code> &lt;v-container fluid&gt;
      &lt;v-switch :label="`Switch 1: ${switch1.toString()}`" v-model="switch1"&gt;&lt;/v-switch&gt;
    &lt;/v-container&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>Script:</p>
  
  <pre><code>&lt;script&gt;
    export default {
      data () {
        return {
          switch1: false
        }
      }
    }
  &lt;/script&gt;
  </code></pre>