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

希望添加滚动到页面某个位置的API #592

Closed
zhuyihe opened this issue May 21, 2024 · 3 comments
Closed

希望添加滚动到页面某个位置的API #592

zhuyihe opened this issue May 21, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@zhuyihe
Copy link

zhuyihe commented May 21, 2024

What problem does this feature solve?

希望点击外部按钮能滚动到页面的某个地方
我看到文档里面只有目录定位的功能

What does the proposed API look like?

instance.command.executeScrollintoview(id)

@zhuyihe zhuyihe changed the title 添加滚动到页面某个位置的API 希望添加滚动到页面某个位置的API May 21, 2024
@Hufe921
Copy link
Owner

Hufe921 commented May 21, 2024

场景是什么?

@zhuyihe
Copy link
Author

zhuyihe commented May 22, 2024

比如通过外部接口获取的关键字
或者根据接口获取关键段落id滚动到关键的地方
再比如连续性病历,根据id滚动到病程记录
问一下大佬 如果是连续性病历应该如何展示呢?

@Hufe921 Hufe921 added the enhancement New feature or request label May 25, 2024
@Hufe921 Hufe921 closed this as completed Jun 15, 2024
@zhuyihe
Copy link
Author

zhuyihe commented Jul 17, 2024

问下controlId怎么通过控件传入
这边传入了controlId
image

但是在渲染文字的时候将控件拆分,controlId随机生成了,导致无法定位
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants