bleeping
coder
Projects
JavaScript
TypeScript
Python
C++
C#
Go
Fe-interview: [vue] vue组件之间的通信都有哪些?
Created on 11 Jun 2019
·
3
Comments
·
Source:
haizlin/fe-interview
[vue] vue组件之间的通信都有哪些?
vue
Source
Most helpful comment
父子Coms: 1/2/3 ..
兄弟Coms: 4/5
跨级Coms: 4/5/6/7
props
$emit/$on
( $parents/$children ) / $refs
Vuex
Bus
( provide/inject )
( $attrs/$listeners )
All 3 comments
父子Coms: 1/2/3 ..
兄弟Coms: 4/5
跨级Coms: 4/5/6/7
props
$emit/$on
( $parents/$children ) / $refs
Vuex
Bus
( provide/inject )
( $attrs/$listeners )
props
emit
ref
vuex
bus
1.父传子 props
2.子传父 $emit
3.Vuex 状态管理器
4.bus
Was this page helpful?
0
/ 5 -
0
ratings
Related issues
[软技能] 第68天 js动画和css动画有什么区别?
haizhilin2013
·
3
Comments
[vue] 你有封装过axios吗?主要是封装哪方面的?
haizhilin2013
·
3
Comments
[软技能] 第65天 最后如果技术面和HR面问你:你还有什么问题吗?你分别会问些什么?
haizhilin2013
·
3
Comments
[vue] 开发过程中有使用过devtools吗?
haizhilin2013
·
3
Comments
[html] 第39天 title与h1、b与strong、i与em的区别分别是什么?
haizhilin2013
·
3
Comments
Most helpful comment