rcx-virtual-list
Version:
Maximum performance for extremely large lists.<br/> Animation of elements is supported.
15 lines (14 loc) • 671 B
TypeScript
/**
* Dictionary zIndex by id of the list element. If the value is not set or equal to 0, then a simple element is displayed,
* if the value is greater than 0, then the sticky position mode is enabled for the element. 1 - position start, 2 - position end.
* @link https://github.com/DjonnyX/rcx-virtual-list/tree/main/src/lib/src/models/sticky-map.model.ts
* @author Evgenii Grebennikov
* @email djonnyx@gmail.com
*/
export interface IVirtualListStickyMap {
/**
* Sets zIndex for the element ID. If zIndex is greater than 0, then sticky position is applied.
* 1 - position start, 2 - position end.
*/
[id: string]: 0 | 1 | 2;
}