Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Python
- MVVM
- java
- prototype pattern
- design pattern
- click.native
- IPv6
- maven
- Factory Method Pattern
- $event.target.value
- Spring Boot
- vuejs
- ubuntu
- mount point
- executable jar
- data
- v-show vs v-if
- v-model vs v-bind
- kebab case
- camel case error
- zen of python
- builder pattern
- Linux
- Singleton pattern
Archives
- Today
- Total
목록2018/03/12 (3)
Eddie's Blog
[vuejs] $emit() vs $on()
$emitself-defined event$onmonitor and receive
programmings
2018. 3. 12. 01:06
[vuejs] data 바인딩시 v-model과 v-bind를 사용하는 방법
input 엘리먼트에 v-model을 사용하여 Vue 인스턴스의 데이터를 바인딩하면 입력한 내용에 대해 모델 바인딩 바로 되지만, v-bind를 사용했을 경우 그렇지 못하기 때문에 $event.target.value를 사용하여 값을 가져와 oninput 이벤트에 데이터 값을 변경해준다. v-model = v-bind:value + v-on:input 라고 이해하자.
programmings
2018. 3. 12. 00:15