Skip to content

Commit

Permalink
docs: add note about possible transform default in next major
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Aug 23, 2024
1 parent 8154f2b commit e144a3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/models/gridOption.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ export interface GridOption<C extends BaseColumn = BaseColumn> {

/**
* Defaults to "top", what CSS style to we want to use to render each row top offset (we can use "top" or "transform").
* For example, with a default `rowHeight: 22`, the 2nd row will have a `top` offset of 44px and by default have a CSS style of `top: 44px`
* For example, with a default `rowHeight: 22`, the 2nd row will have a `top` offset of 44px and by default have a CSS style of `top: 44px`.
* NOTE: for perf reasons, the "transform" might become the default in our future major version.
*/
rowTopOffsetRenderType?: 'top' | 'transform';

Expand Down

0 comments on commit e144a3c

Please sign in to comment.