Skip to content

Commit 3a213b8

Browse files
committed
예제 번역: /examples/attribute-bindings
1 parent 1cb2561 commit 3a213b8

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

ko-KR/src/examples/src/attribute-bindings/App/composition.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { ref } from 'vue'
22

33
export default {
44
setup() {
5-
const message = ref('Hello World!')
5+
const message = ref('안녕 Vue!')
66
const isRed = ref(true)
77
const color = ref('green')
88

ko-KR/src/examples/src/attribute-bindings/App/options.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export default {
22
data() {
33
return {
4-
message: 'Hello World!',
4+
message: '안녕 Vue!',
55
isRed: true,
66
color: 'green'
77
}
@@ -14,4 +14,4 @@ export default {
1414
this.color = this.color === 'green' ? 'blue' : 'green'
1515
}
1616
}
17-
}
17+
}
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
<p>
22
<span :title="message">
3-
Hover your mouse over me for a few seconds to see my dynamically bound title!
3+
동적으로 바인딩된 나의 title을 보려면 몇 초 동안 마우스를 올려놓으세요!
44
</span>
55
</p>
66

77
<!--
8-
class bindings have special support for objects and arrays
9-
in addition to plain strings
8+
클래스 바인딩은 일반 문자열 외에도 객체 및 배열을 지원합니다.
109
-->
1110
<p :class="{ red: isRed }" @click="toggleRed">
12-
This should be red... but click me to toggle it.
11+
이것은 빨간색이어야 합니다... 하지만 전환하려면 저를 클릭하세요.
1312
</p>
1413

15-
<!-- style bindings also support object and arrays -->
14+
<!-- 스타일 바인딩은 객체 및 배열도 지원합니다. -->
1615
<p :style="{ color }" @click="toggleColor">
17-
This should be green, and should toggle between green and blue on click.
16+
이것은 녹색이어야 하며, 클릭 시 녹색과 파란색 사이를 전환합니다.
1817
</p>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Here we are reactively binding element attributes / properties to the state.
2-
The :title syntax is short for v-bind:title.
1+
이곳에서 엘리먼트의 속성에 상태를 반응형으로 바인딩합니다.
2+
:title 문법은 v-bind:title의 줄임말입니다.

0 commit comments

Comments
 (0)