Skip to content
AlexanderBoriskin edited this page Aug 1, 2018 · 5 revisions

Switch

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

Props

  • 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