[Feature] 支持表格实例 RESIZE 事件监听
Open
@fangsmile is already working on this.
Since Mar 14, 2025.
bp
feature
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
What problem does this feature solve?
支持监听表格实例的 resize 变化,可通过传入回调定制表格实例 resize 过程中的响应操作。
可能触发表格实例 resize 的场景:
- 拖动画布改变图表宽高
- 浏览器宽高变化,分辨率改变
- 画布新增图例,label 等影响布局的组件
- ......
What does the proposed API look like?
chartInstance.on("AFTER_RESIZE", () => { xxx })
chartInstance.off("AFTER_RESIZE", () => { xxx })
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.