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
[vue] 怎么缓存当前打开的路由组件,缓存后想更新当前组件怎么办呢?
haizhilin2013
·
3
Comments
[vue] vue性能的优化的方法有哪些?
haizhilin2013
·
3
Comments
[vue] 在vue项目中如何引入第三方库(比如jQuery)?有哪些方法可以做到?
haizhilin2013
·
3
Comments
[软技能] 第65天 最后如果技术面和HR面问你:你还有什么问题吗?你分别会问些什么?
haizhilin2013
·
3
Comments
[html] 第48天 说说你对WEB标准和W3C的理解与认识?
haizhilin2013
·
3
Comments
Most helpful comment