Contents
see List작성일 2022. 07. 27.
<template>
<section>
<testChild ref="child01" />
</section>
</template>
<script>
import {ref} from "vue";
import testChild from "@/components/main/testChild ";
export default {
components: {
testChild ,
},
setup() {
const child01= ref(null); //템플릿의 ref 명과 변수명을 일치
const child01_call = (testValue) => {
child01.value.func_call(testValue); //자식 컴포넌트에 정의된 함수명 호출
}
return {
child01 //중요 필수사항
}
},
}
</script>
<style scoped>
</style>
javascript
| No | 작성일 | Title |
|---|---|---|
| 360 | 2016. 05. 31. | [ bootstrap ] bootstrap modal multi modal wheel and focus not work |
| 359 | 2016. 05. 03. | [ javascript ] 이벤트 전파 |
| 357 | 2016. 04. 16. | [ datatable ] jquery datatable and editor exemple 사용법 예 |
| 312 | 2015. 07. 02. | [ jquery ] 선택된 라디오 박스 값 이름으로 가져오기 |
| 305 | 2015. 06. 16. | [ dynatree ] dynatree 함수들 |
| 286 | 2015. 05. 30. | [ javascript ] 운영체제 비트 확인하기 |
| 275 | 2015. 05. 04. | [ jquery ] dynatree option 옵션들 |
| 269 | 2015. 04. 08. | [ javascript ] jquery 에서 ajax 로 배열 넘기기 |
| 268 | 2015. 04. 08. | [ javascript ] jquery map() 을 이용하여 여러 폼값을 배열로 만들기. |
| 267 | 2015. 04. 08. | [ javascript ] jquery 로 해당 객체들중에 대상 선택하여 인덱스값 가져오기 |