UNPKG

rcx-virtual-list

Version:

Maximum performance for extremely large lists.<br/> Animation of elements is supported.

42 lines (41 loc) 1.11 kB
/** * Object with configuration parameters for IRenderVirtualListItem * @link https://github.com/DjonnyX/rcx-virtual-list/tree/main/src/lib/src/models/render-item-config.model.ts * @author Evgenii Grebennikov * @email djonnyx@gmail.com * */ export interface IRenderVirtualListItemConfig { /** * If greater than 0, the element will have a sticky position with the given zIndex. */ sticky: number; /** * Specifies whether the element will snap. */ snap: boolean; /** * Indicates that the element is snapped. */ snapped: boolean; /** * Indicates that the element is being shifted by another snap element. */ snappedOut: boolean; /** * Indicates that the element is a vertical list item. */ isVertical: boolean; /** * Specifies that the element adapts to the size of its content. */ dynamic: boolean; /** * Returns true if the snapping method is advanced */ isSnappingMethodAdvanced: boolean; /** * z-index */ zIndex: string; }