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

文档感觉不是很全呢?朋友!是要结合g6的一起看吗? #96

Closed
ouaisheinie opened this issue Nov 7, 2018 · 4 comments
Closed

Comments

@ouaisheinie
Copy link

比如说 DetailPanel 里面 怎么打印值的方法
也可能是我刚接触 没怎么看的原因。哈哈 挺好的。

@gaoli
Copy link
Collaborator

gaoli commented Nov 8, 2018

@ouaisheinie

现有的文档应该是能满足一般的开发需求的,你所说的打印值具体是指什么?

如果是一些方法的调用,你可能需要 Props API

@ouaisheinie
Copy link
Author

恩 看了你的回答 是否要用withPropsAPI包装Flow 然后我就能read出Flow里 此时此刻的节点对象这些数据

@gaoli
Copy link
Collaborator

gaoli commented Nov 8, 2018

@ouaisheinie

使用 withPropsAPI 包装你要使用 API 的 React 组件(这里要注意,该组件必须为 GGEditor 的子组件,不然无法获取),如果要获取当前的数据,你需要调用的方法是 save()

@ouaisheinie
Copy link
Author

@ouaisheinie

使用 withPropsAPI 包装你要使用 API 的 React 组件(这里要注意,该组件必须为 GGEditor 的子组件,不然无法获取),如果要获取当前的数据,你需要调用的方法是 save()

谢谢高兄弟 很详细的解释 已经没问题了 谢谢

@gaoli gaoli closed this as completed Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants