8000 Releases · dhilt/ngx-ui-scroll · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: dhilt/ngx-ui-scroll

Adapter.insert can make virtual insertions

01 Oct 23:27
977bb07
Compare
Choose a tag to compare
  • Added beforeIndex and afterIndex options for Adapter.insert API providing virtual insertions (vscroll v1.4.0).
  • Added tests, updated demos and documentation.

Link to PR.

Adapter.remove improvements

18 Sep 18:34
c3138c7
Compare
Choose a tag to compare

Removed continuous sequence limitation for in-buffer operations and resolved some minor issues of the Adapter.remove API.

Link to PR.

Indexes strategy for Adapter append/prepend API

08 Sep 02:59
9cc5dcb
Compare
Choose a tag to compare
  • Added increase option for Adapter.prepend and decrease for Adapter.prepend.
  • Both methods use Adapter.update for in-buffer insertions.

Link to PR.

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.

    0