Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

hidden vue js

<div v-if="type === 'A'">
  A
</div>
<div v-else-if="type === 'B'">
  B
</div>
<div v-else-if="type === 'C'">
  C
</div>
<div v-else>
  Не A/B/C
</div>
Source by ru.vuejs.org #
 
PREVIOUS NEXT
Tagged: #hidden #vue #js
ADD COMMENT
Topic
Name
6+1 =