ng-virtual-list 16.1.3 → 16.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,4 +34,8 @@ export interface IRenderVirtualListItemConfig {
34
34
  * Returns true if the snapping method is advanced
35
35
  */
36
36
  isSnappingMethodAdvanced: boolean;
37
+ /**
38
+ * z-index
39
+ */
40
+ zIndex: string;
37
41
  }
@@ -1,5 +1,6 @@
1
1
  /**
2
- * 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.
2
+ * Dictionary zIndex by id of the list element. If the value is not set or equal to 0, then a simple element is displayed,
3
+ * if the value is greater than 0, then the sticky position mode is enabled for the element. 1 - position start, 2 - position end.
3
4
  * @link https://github.com/DjonnyX/ng-virtual-list/blob/16.x/projects/ng-virtual-list/src/lib/models/sticky-map.model.ts
4
5
  * @author Evgenii Grebennikov
5
6
  * @email djonnyx@gmail.com
@@ -7,6 +8,7 @@
7
8
  export interface IVirtualListStickyMap {
8
9
  /**
9
10
  * Sets zIndex for the element ID. If zIndex is greater than 0, then sticky position is applied.
11
+ * 1 - position start, 2 - position end.
10
12
  */
11
- [id: string]: number;
13
+ [id: string]: 0 | 1 | 2;
12
14
  }
@@ -124,6 +124,7 @@ export declare class NgVirtualListComponent implements AfterViewInit, OnInit, On
124
124
  set snappingMethod(v: SnappingMethod);
125
125
  get snappingMethod(): SnappingMethod;
126
126
  protected _isSnappingMethodAdvanced: boolean;
127
+ get isSnappingMethodAdvanced(): boolean;
127
128
  protected _displayComponents: Array<ComponentRef<NgVirtualListItemComponent>>;
128
129
  protected _snapedDisplayComponent: ComponentRef<NgVirtualListItemComponent> | undefined;
129
130
  protected _$bounds: BehaviorSubject<ISize | null>;
@@ -4,4 +4,4 @@
4
4
  * @author Evgenii Grebennikov
5
5
  * @email djonnyx@gmail.com
6
6
  */
7
- export declare const toggleClassName: (el: HTMLElement, className: string, remove?: boolean) => void;
7
+ export declare const toggleClassName: (el: HTMLElement, className: string, removeClassName?: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-virtual-list",
3
- "version": "16.1.3",
3
+ "version": "16.2.0",
4
4
  "author": {
5
5
  "name": "Evgenii Grebennikov",
6
6
  "email": "djonnyx@gmail.com"