Skip to content

Releases: dhilt/ngx-ui-scroll

Items of zero size

23 Mar 20:58
441d576
Compare
Choose a tag to compare
  • fix for the case of zero size items (issue #163)
  • fix for the case when 'check' detected changes

Adapter reset

21 Mar 22:54
61c6f07
Compare
Choose a tag to compare

New Adapter.reset method is introduced:

Name Parameters Description
insert (options: {
  items: any[],
  before?: ItemsPredicate,
  after?: ItemsPredicate,
  decrease?: boolean
})
Inserts items before or after the one that satisfies the predicate condition. Only one of before and after options is allowed. Indexes increase by default. Decreasing strategy can be enabled via decrease option.

Added demo.
Added 30 tests: adapter.reset.spec and adapter.reset-persistance.spec.

Adapter insert

09 Mar 14:26
1fb6933
Compare
Choose a tag to compare

New Adapter.insert method is introduced:

Name Parameters Description
insert (options: {
  items: any[],
  before?: ItemsPredicate,
  after?: ItemsPredicate,
  decrease?: boolean
})
Inserts items before or after the one that satisfies the predicate condition. Only one of before and after options is allowed. Indexes increase by default. Decreasing strategy can be enabled via decrease option.

Added demo and 18 tests.

Adapter context initialization fix

28 Feb 13:29
2ad60e0
Compare
Choose a tag to compare

The details could be taken from the description of PR #152.

Adapter Workflow call protection

20 Feb 20:19
225bfdc
Compare
Choose a tag to compare
  • Adapter workflow call protection (fix for the WF interruption)
  • reduced inner dependencies

Workflow and Adapter initialization refactoring

18 Feb 05:14
02ae0f9
Compare
Choose a tag to compare
  • new implementation for the Adapter, public context has only getters, no extra props (PR #140)
  • disposing the Workflow is based on rxjs Subject (PR #137), it eliminates issues #118 and #132
  • Workflow state machine as a separate entity, reconsidered the payload of the Workflow processes (PR #138)
  • "experimental" tab for the demo app, link
  • new tests (246)

Workflow 6.5

Inverse setting

09 Feb 03:43
eb10cd4
Compare
Choose a tag to compare

When there is a lack of items in the viewport, the uiScroll sets the height of the forward padding element to some value enough to fill the viewport. This is default behaviour, and this can be changed with the help of inverse setting.

When inverse setting is set to true, the backward padding element will have a priority over the forward one, and it will be stretched if there are not enough items in the viewport.

Adapter bof$/eof$

28 Jan 23:19
ecede16
Compare
Choose a tag to compare
v1.3.2

Merge pull request #128 from dhilt/issue-110_fetching-new-data-when-B…

Workflow interruption on reload

24 Jan 14:33
1af2e7c
Compare
Choose a tag to compare
  • Workflow 6.0
  • the Workflow can be asynchronously interrupted
  • interruption for the Reload process + tests

Adapter updates and fixes

20 Jan 04:49
8538ad7
Compare
Choose a tag to compare
  • Adapter.fix implementation (link)
  • Adapter.check fix