Skip to content
asvae edited this page Apr 20, 2018 · 5 revisions

Switch

<vuestic-switch v-model="isMale">
  <span slot="trueTitle">Male</span>
  <span slot="falseTitle">Female</span>
</vuestic-switch>

v-model: Boolean -- Model of your select
Simply add slot="trueTitle" attribute to span which should return true in your model after click. Otherwise add slot="falseTitle" attribute.

Find DEMOs here!

Clone this wiki locally