Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

vue v-else-if

<div id="app">
    <p id="A"  v-if="showMessageA">A</p>
    <p id="B"  v-else-if="showMessageB">B</p>
    <p id="C"  v-else>C</p>
</div>
Source by ithelp.ithome.com.tw #
 
PREVIOUS NEXT
Tagged: #vue
ADD COMMENT
Topic
Name
7+9 =