angular-infinity-scrolling 1.0.0 → 1.2.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 +8 -5
  2. package/package.json +20 -1
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  ## Thank you for using angular -infinity-scroller for infinite scrolling.
2
- ## Use Case
3
- ### Note: Current version ov package is compatible with angular version above 17
2
+ >[!TIP]
3
+ >Note: Current version of package is compatible with angular version above 17
4
+
4
5
  ### go to the directory, open terminal and and install package using `npm i angular-infinity-scroller`
5
6
  ### Go to the ts file of component e.g. example.component.ts and insert AngularInfinityScrollerDirective
6
7
 
@@ -16,15 +17,17 @@ import {AngularInfiniteScrollerDirective} from "angular-infinity-scroller";
16
17
  templateUrl: './exaple.component.html',
17
18
  styleUrl: './exaple.component.scss',
18
19
  })
19
- export class ExampleComponent
20
+ export class ExampleComponent{}
20
21
  ```
21
22
  ````
22
23
  followed by consuming the directive in example.component.
23
24
  ````
24
25
  ### Currently Directive has 2 properties
25
26
  ````
26
- scrollDistance - input which accpet a number between 1 and 10 describing to emit the data if scrollable height is less than or equal to (number*10) percent
27
- [scrollDistance]='2' value will be emitted if scrollable height is less than or 20%
27
+ scrollDistance - input which accpet a number between 1 and 10.
28
+ Describing to emit the data if scrollable height is less than or equal to (number*10) percent.
29
+ [scrollDistance]='2' value will be emitted if scrollable height is less than or 20%.
30
+
28
31
  onScrolled - output that accept a voidFunction to be invoked on emit
29
32
  (onScrolled)="handleScroll()"
30
33
  ````
package/package.json CHANGED
@@ -1,6 +1,25 @@
1
1
  {
2
2
  "name": "angular-infinity-scrolling",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://github.com/Jayant061/angular-infinity-scroller"
7
+ },
8
+ "bugs": {
9
+ "url": "https://github.com/Jayant061/angular-infinity-scroller/issues"
10
+ },
11
+ "keywords": [
12
+ "Angular-infinity-scrolling",
13
+ "Angular-infinity-scroller",
14
+ "infinity-scroller",
15
+ "Angular-infinite-scroller",
16
+ "Angular-infinite-scroll",
17
+ "infinte-scroll",
18
+ "infinite",
19
+ "Angular"
20
+ ],
21
+ "author": "Jayant Thakur",
22
+ "license": "ISC",
4
23
  "peerDependencies": {
5
24
  "@angular/common": "^18.2.0",
6
25
  "@angular/core": "^18.2.0"