-
Notifications
You must be signed in to change notification settings - Fork 196
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
feat: 新增 s2.facet.getContentWidth() API #2883
Conversation
s2.facet.getContentHeight() 和 s2.facet.getContentWidth() BREAKING CHANGE: 移除 s2.getContentHeight() API
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -637,12 +641,6 @@ export abstract class BaseFacet { | |||
}; | |||
} | |||
|
|||
public getContentHeight(): number { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个在 table-facet 中重写, 其实只有 pivot-facet 使用, 所以摞到相应的位置中
/** | ||
* 获取当前表格实际内容高度 | ||
*/ | ||
public getContentHeight(): number { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
统一在 s2.facet
命名空间下
Size Change: +6 B (0%) Total Size: 329 kB
ℹ️ View Unchanged
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #2883 +/- ##
==========================================
+ Coverage 75.77% 80.80% +5.03%
==========================================
Files 257 180 -77
Lines 11994 10415 -1579
Branches 2464 2360 -104
==========================================
- Hits 9088 8416 -672
+ Misses 1398 555 -843
+ Partials 1508 1444 -64 ☔ View full report in Codecov by Sentry. |
🎉 This PR is included in version @antv/s2-v2.0.0-next.28 🎉 The release is available on: Your semantic-release bot 📦🚀 |
👀 PR includes
✨ Feature
📝 Description
新增
BREAKING CHANGE: 移除
🖼️ Screenshot
🔗 Related issue link
close #2881
🔍 Self-Check before the merge