v-else-if Example

Click the button to set the 'word' data property to 'pizza'.

apple

The value of the 'word' property is 'apple'.