We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
通过仅渲染那些屏幕上可见的条目,来高效的显示大型列表。参考自 rc-virtual-list
数据量过多时,用于提升页面渲染性能。
component
string | Component
div
data
Array
[]
fullHeight
height
boolean
false
number
0
itemHeight
itemKey
string | number | (item) => string | number
itemRender
(option: { item: T; index: number }) => VNodeTypes | v-slot:item={item, index}
item
virtual
true
scroll
(evt: Event) => void
scrollTo
(value?: number | ScrollToConfig) => void
The text was updated successfully, but these errors were encountered:
It is highly valid to display large lists by rendering only those visible on those on the screen. Reference from [RC-Virtual-List] (https://github.com/react-component/virtual-list)
The amount of data is too much for enhancing the page rendering performance.
Component
Div
Data
FullHeight
Boolean
HEIGHT
Number
ItemHeight
ItemKey
ItemRender
Virtual
True
Scroll
(EVT: Event) => void
####METHOD
Scrollto
Sorry, something went wrong.
feat(cdk:virtual-list): add virtual-list (#321)
414823c
fix #325
danranVm
Successfully merging a pull request may close this issue.
What problem does this feature solve?
What does the proposed API look like?
通过仅渲染那些屏幕上可见的条目,来高效的显示大型列表。参考自 rc-virtual-list
何时使用
数据量过多时,用于提升页面渲染性能。
API
ix-virtual-list
Props
component
string | Component
div
data
Array
[]
fullHeight
height
作为容器高度boolean
false
height
number
0
itemHeight
number
0
itemKey
string | number | (item) => string | number
itemRender
(option: { item: T; index: number }) => VNodeTypes | v-slot:item={item, index}
item
插槽virtual
boolean
true
Emits
scroll
(evt: Event) => void
Method
scrollTo
(value?: number | ScrollToConfig) => void
The text was updated successfully, but these errors were encountered: