-
-
Notifications
You must be signed in to change notification settings - Fork 582
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
元素支持悬浮提示 #762
Comments
instance.eventBus.on('controlChange', (payload: IControl | null) => void) |
instance.eventBus.on('controlChange', (payload: IControl | null) => void) |
controlChange给你返回了IControl,你可以这获取到控件的信息,在结合range去获取当前位置,去做一个绝对定位的信息提示,你可以参考一下hyperlink是怎么实现点击后显示跳转网址的。 |
这个必须要改源码才行吧?不改源码没法实现吧? |
#739 |
我在参考楼上博主的实现方法,再改您的源码,感觉有难度。希望能加上去哈。这个在做EMR的时候还是很有价值的。谢谢您。如果您方便的话,加下QQ群935536135,有几十个您的忠粉。希望能得到您的帮助,也能让canvas-editor走的更远。谢谢。 |
What problem does this feature solve?
在编辑文档过程中,有些元素需要提醒如何填写,能后在录入过程中,光标聚焦的时候自动弹出hint提示框?或者鼠标移动到控件上提示。离开的时候恢复。
What does the proposed API look like?
如上
The text was updated successfully, but these errors were encountered: