Globals / "src/renderer/components/virtual-list/virtual-list"
Module: "src/renderer/components/virtual-list/virtual-list"#
Index#
Classes#
Interfaces#
Variables#
Object literals#
Variables#
Row#
• Const Row: (Anonymous function) = observer((props: RowProps) => { const { index, style, data } = props; const { items, getRow } = data; const item = items[index]; const uid = typeof item == "string" ? index : items[index].getId(); const row = getRow(uid); if (!row) return null; return React.cloneElement(row, { style: Object.assign({}, row.props.style, style) });})
Defined in src/renderer/components/virtual-list/virtual-list.tsx:126
Object literals#
defaultProps#
▪ Const defaultProps: object
Defined in src/renderer/components/virtual-list/virtual-list.tsx:34
Properties:
| Name | Type | Value |
|---|---|---|
initialOffset |
number | 1 |
onScroll |
any | noop |
readyOffset |
number | 10 |
width |
string | "100%" |
Last update: November 10, 2020