Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular4.0 两个兄弟组件通过服务通讯 | jianqiao0313 #60

Open
jianqiao0313 opened this issue May 13, 2020 · 0 comments
Open

Comments

@jianqiao0313
Copy link
Owner

https://lvjianqiao.top/2017/05/10/Angular4-0-%E4%B8%A4%E4%B8%AA%E5%85%84%E5%BC%9F%E7%BB%84%E4%BB%B6%E9%80%9A%E8%BF%87%E6%9C%8D%E5%8A%A1%E9%80%9A%E8%AE%AF/

背景最近在Taptap上下载一个游戏,叫盗墓长生印,非常有意思,里面有一个小游戏,叫八宝盒,类似于华容道,打算开发一个网页版的自动完成,既然最近在学Angular4.0.0,那就拿Angular4.0开发把。算法我打算用DFS,用Typescript写算法不知道好不好写,二维数组就不怎么好定义。等完成后会放到github上。 网上查了好多,父子组件通讯比较简单,但是兄弟组件通讯只能用service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant