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

增加一个轻量级的dom模拟库,用于在小程序内mock dom操作 #16

Open
openwayne opened this issue Jun 12, 2021 · 4 comments

Comments

@openwayne
Copy link
Collaborator

openwayne commented Jun 12, 2021

image
pages/SceneCase/mindMap异常

@openwayne openwayne added the bug👾 Something isn't working label Jun 15, 2021
@openwayne openwayne added this to the bug killer milestone Jun 15, 2021
@openwayne
Copy link
Collaborator Author

小程序内实际问题在 dom操作无法实现,是否考虑增加一个feature,在引擎内部提供基础的dom操作,用于兼容G6的

}
/**
 * 根据xml或者返回xml的函数构建自定义节点的结构
 * @param gen
 */

export function createNodeFromXML(gen) {

@openwayne openwayne removed this from the bug killer milestone Jun 26, 2021
@openwayne openwayne changed the title pages/SceneCase/mindMap异常 增加一个轻量级的dom模拟库,用于在小程序内mock dom操作 Jun 26, 2021
@openwayne openwayne removed the bug👾 Something isn't working label Jun 26, 2021
@openwayne
Copy link
Collaborator Author

const xmlParser = document.createElement('div');

问题原因

@openwayne
Copy link
Collaborator Author

@ICMI 你的ui库可以考虑下干这个事情

@ICMI
Copy link
Collaborator

ICMI commented Aug 23, 2021

@ICMI 你的ui库可以考虑下干这个事情

现在倒是有类似的接口,调用方法类似createSegementNode('<div />', '/** css **/')

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

2 participants