File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
src/examples/src/conditionals-and-loops Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -436,7 +436,7 @@ export const sidebar = {
436
436
link : '/examples/#attribute-bindings'
437
437
} ,
438
438
{
439
- text : '조건 및 반복 ' ,
439
+ text : '조건문과 반복문 ' ,
440
440
link : '/examples/#conditionals-and-loops'
441
441
} ,
442
442
{
Original file line number Diff line number Diff line change 1
- < button @click ="show = !show "> Toggle List </ button >
2
- < button @click ="list.push(list.length + 1) "> Push Number </ button >
3
- < button @click ="list.pop() "> Pop Number </ button >
4
- < button @click ="list.reverse() "> Reverse List </ button >
1
+ < button @click ="show = !show "> 목록 전환 </ button >
2
+ < button @click ="list.push(list.length + 1) "> 숫자 추가 </ button >
3
+ < button @click ="list.pop() "> 숫자 제거 </ button >
4
+ < button @click ="list.reverse() "> 목록 뒤집기 </ button >
5
5
6
6
< ul v-if ="show && list.length ">
7
7
< li v-for ="item of list "> {{ item }}</ li >
8
8
</ ul >
9
- < p v-else-if ="list.length "> List is not empty, but hidden .</ p >
10
- < p v-else > List is empty .</ p >
9
+ < p v-else-if ="list.length "> 목록이 비어있지 않지만, 숨김처리 되었습니다 .</ p >
10
+ < p v-else > 목록이 비었습니다 .</ p >
Original file line number Diff line number Diff line change 1
- We can render content conditionally or in a loop with the v-if and v-for directives .
1
+ v-if 및 v-for 디렉티브를 사용하여 콘텐츠를 조건부로 또는 반복적으로 렌더링할 수 있습니다 .
You can’t perform that action at this time.
0 commit comments