You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/core/components/virtual-list/virtual-list.d.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -80,8 +80,8 @@ export namespace VirtualList {
80
80
rowsAfter?: number;
81
81
/** Number of items per row. Doesn't compatible when using Virtual List with dynamic height (default 1) */
82
82
cols?: number;
83
-
/** If number - list item height in px. If function then function should return item height. By default equals to 44 for iOS theme, 48 for MD theme, and 38 for Aurora theme */
84
-
height?: number|Function;
83
+
/** If number - list item height in px. If function then function should return item height. If "auto" - will automatically calculate each items heights. By default equals to 44 for iOS theme, 48 for MD theme, and 38 for Aurora theme */
84
+
height?: number|Function|string;
85
85
/** This optional function allows to use custom function to render item HTML. It could be used instead of template parameter */
86
86
renderItem?(item: any): string;
87
87
/** This optional function allows to render DOM items using some custom method. Useful in case it is used (e.g.) with Vue/React plugin to pass DOM rendering and manipulation to Vue/React. renderParameters conaints object with the following properties: fromIndex, toIndex, listHeight, topPosition, items */
0 commit comments