We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48d7b3a commit d30c3feCopy full SHA for d30c3fe
index.html
@@ -10,6 +10,8 @@
10
<body>
11
<div id="app">
12
{{ nextYear('안녕') }}
13
+ <input :type="type" :value="inputData">
14
+ <a :href="getKossieCoderLink('kossiecoder')">코지 코더 채널</a>
15
</div>
16
<script>
17
new Vue({
@@ -18,9 +20,15 @@
18
20
person: {
19
21
name: '코지 코더',
22
age: 34
- }
23
+ },
24
+ inputData: 'hello',
25
+ type: 'text',
26
+ link: 'https://www.youtube.com/'
27
},
28
methods: {
29
+ getKossieCoderLink(channel) {
30
+ return this.link + channel;
31
32
nextYear(greeting) {
33
return greeting + '! ' +this.person.name + ' 는 내년에 ' + (this.person.age + 1) + '살 입니다';
34
0 commit comments