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
[软技能] 第61天 知道IPV6是什么吗?说说它和IPV4的区别是什么?
haizhilin2013
·
3
Comments
[vue] 说说你对vue组件的设计原则的理解
haizhilin2013
·
3
Comments
[vue] 你了解什么是函数式组件吗?
haizhilin2013
·
3
Comments
[html] 第70天 html的a标签属性rel='nofollow'有什么作用?
haizhilin2013
·
3
Comments
[vue] 怎么缓存当前打开的路由组件,缓存后想更新当前组件怎么办呢?
haizhilin2013
·
3
Comments
Most helpful comment