VisActor / VisActor/VTable

[Feature] 支持表格实例 RESIZE 事件监听

Open
#3,575 0 comments 0 reactions 1 assignee View on GitHub

@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 的场景:

  1. 拖动画布改变图表宽高
  2. 浏览器宽高变化,分辨率改变
  3. 画布新增图例,label 等影响布局的组件
  4. ......
What does the proposed API look like?

chartInstance.on("AFTER_RESIZE", () => { xxx })
chartInstance.off("AFTER_RESIZE", () => { xxx })

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.