Skip to content

Commit

Permalink
docs: 补充迁移文档
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Aug 30, 2024
1 parent c871686 commit 9f62830
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions s2-site/docs/manual/migration-v2.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,14 @@ export interface LayoutResult {
}
```

5.`s2.getContentHeight()` 废弃,移动到 `s2.facet.getContentHeight()`

```diff
- s2.getContentHeight()
+ s2.facet.getContentHeight()
+ s2.facet.getContentWidth()
```

具体请查看 [获取单元格数据](/manual/advanced/get-cell-data) 相关文档。

#### 渲染参数变更
Expand Down

0 comments on commit 9f62830

Please sign in to comment.