Skip to content

Releases: dhilt/ngx-ui-scroll

Direction Priority Dev Setting

01 Sep 01:42
86da81b
Compare
Choose a tag to compare

Introduced new directionPriority development setting, see jsdoc description in vscroll.

Link to PR.

Memory leak when reload via ngIf

15 Jul 00:23
52c0489
Compare
Choose a tag to compare

Default Size Strategy

07 Jun 15:22
b571823
Compare
Choose a tag to compare
  • Default Size Strategy, feature (#264, #265)
  • Reactive props config persistence, bug (#270)
  • vscroll 1.1.0, Angular 12, some other deps update

2.0.0

11 Apr 11:27
2547542
Compare
Choose a tag to compare
  • extracted core into a separate js module vscroll
  • Adapter.update API
  • switched to eslint
  • switched to GitHub Actions CI

Links to PRs: #238, #252, #258.

Adapter bufferInfo

22 Dec 03:15
46c54b6
Compare
Choose a tag to compare
  • New Adapter.bufferInfo property:
Name Type Description
bufferInfo IBufferInfo {
  firstIndex: number;
  lastIndex: number;
  minIndex: number;
  maxIndex: number;
  absMinIndex: number;
  absMaxIndex: number;
}
  • firstIndex & lastIndex are the first and the last indexes in the current Buffer.
  • minIndex & maxIndex are min and max indexes that were present in the Buffer.
  • absMinIndex & absMaxIndex are min and max indexes that can be present in the Buffer.
    • Internal indexes defaults are switched from null to NaN.
    • Adapter methods return self-resolved Promise of { success: false} if they are called before the Scroller initialization is done.

    Link to PR.

    Adapter.replace

    16 Dec 21:55
    6758a90
    Compare
    Choose a tag to compare
    • New Adapter method "replace" allowing to perform many-to-many replacements over buffered items.
    • Spec, demo and doc for Adapter.replace.
    • Demo App routes config.

    Link to PR.

    Adapter.remove increase fix

    06 Dec 22:24
    846c474
    Compare
    Choose a tag to compare

    This release fixes startIndex consistency across running the Adapter.remove method with "increase" option.

    Link to PR.

    Adapter.replace, one-to-one only

    06 Dec 00:58
    35a58f1
    Compare
    Choose a tag to compare

    This release includes basic implementation of the in-viewport replacement feature.

    Link to PR.

    Adapter.remove virtualization

    27 Nov 13:46
    8af76d1
    Compare
    Choose a tag to compare
    • New signature for remove method: Adapter.remove({ indexes, predicate, increase }).
    • Items can be removed virtually.
    • Workflow v7.2, relying on the initiator process.
    • New specs, over 400 now.

    Link to PR.

    Adapter.remove increase option

    16 Nov 03:37
    c1f48b6
    Compare
    Choose a tag to compare
    • Adapter.remove has new signature: ({ predicate, increase}), the old one is also working: (predicate).
    • Option increase is implemented, it has its own spec, it is added to doc and demo.
    • Added protection against unsequenced removing.

    Link to PR.