Skip to content

Commit a2a5f65

Browse files
authoredJun 1, 2021
Merge pull request #20 from parse/parse/angular-12
2 parents e81c6cc + ec8ced4 commit a2a5f65

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed
 

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ Then place the msInfiniteScroll directive on the `mat-select` component
6060

6161
### Compatibility
6262

63-
* `@angular/core`: `>=6.0.0 <11`,
64-
* `@angular/cdk`: `>=6.0.0 <11`,
65-
* `@angular/material`: `>=6.0.0 <11`,
63+
* `@angular/core`: `>=6.0.0 <13`,
64+
* `@angular/cdk`: `>=6.0.0 <13`,
65+
* `@angular/material`: `>=6.0.0 <13`,
6666
* `rxjs`: `^6.0.0`
6767

6868
### Contributions

‎projects/ng-mat-select-infinite-scroll/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
],
2424
"license": "MIT",
2525
"peerDependencies": {
26-
"@angular/common": ">=6.0.0 <11.0.0",
27-
"@angular/core": ">=6.0.0 <11.0.0",
28-
"@angular/material": ">=6.0.0 <11.0.0"
26+
"@angular/common": ">=6.0.0 <13.0.0",
27+
"@angular/core": ">=6.0.0 <13.0.0",
28+
"@angular/material": ">=6.0.0 <13.0.0"
2929
}
3030
}

‎projects/ng-mat-select-infinite-scroll/src/lib/mat-select-infinite-scroll.directive.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import {AfterViewInit, Directive, EventEmitter, Input, NgZone, OnDestroy, OnInit, Output} from '@angular/core';
2-
import {MatSelect, SELECT_ITEM_HEIGHT_EM} from '@angular/material/select';
2+
import {MatSelect} from '@angular/material/select';
33
import {debounceTime, takeUntil, tap} from 'rxjs/operators';
44
import {fromEvent, Subject} from 'rxjs';
55

6+
/** The height of the select items in `em` units. */
7+
const SELECT_ITEM_HEIGHT_EM = 3;
8+
69
@Directive({
710
selector: '[msInfiniteScroll]'
811
})

0 commit comments

Comments
 (0)
Please sign in to comment.