npm ngx-ui-scroll 1.11.1
Adapter bufferInfo

latest releases: 4.2.0, 4.1.0, 2.4.1...
5 years ago
  • 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.

    Don't miss a new ngx-ui-scroll release

    NewReleases is sending notifications on new releases.