angular-infinity-scrolling 1.2.1 → 1.3.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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,16 +3,16 @@
3
3
  >Note: Current version of package is compatible with angular version above 17
4
4
 
5
5
  go to the directory, open terminal and and install package using `npm i angular-infinity-scroller`
6
- Go to the ts file of component e.g. example.component.ts and insert AngularInfinityScrollerDirective
6
+ Go to the ts file of component e.g. example.component.ts and add AngularInfinityScrollerDirective inside imports.
7
7
 
8
8
 
9
9
  ```ruby
10
- import {AngularInfiniteScrollerDirective} from "angular-infinity-scroller";
10
+ import {AngularInfinityScrollerDirective} from "angular-infinity-scroller";
11
11
 
12
12
  @Component({
13
13
  selector: 'app-example',
14
14
  imports: [
15
- AngularInfiniteScrollerDirective,
15
+ AngularInfinityScrollerDirective,
16
16
  ],
17
17
  templateUrl: './exaple.component.html',
18
18
  styleUrl: './exaple.component.scss',
@@ -32,6 +32,6 @@ onScrolled - output that accept a voidFunction to be invoked on emit
32
32
  (onScrolled)="handleScroll()"
33
33
  ````
34
34
  ```ruby
35
- <div class='scrollable-parent' appAngularInfinityScroller [scrollDistance]="4" (onScrolled)="handleScroll()">
35
+ <div class='scrollable-parent' angularInfinityScroller [scrollDistance]="4" (onScrolled)="handleScroll()">
36
36
  </div>
37
37
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angular-infinity-scrolling",
3
- "version": "1.2.1",
3
+ "version": "1.3.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Jayant061/angular-infinity-scroller"