Skip to content

Commit

Permalink
v3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dhilt committed Jun 16, 2023
1 parent 74d152d commit 64944f3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
11 changes: 3 additions & 8 deletions demo/app/samples/test.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<input [(ngModel)]="sizeIndex" style="width: 50px">
<button (click)="doChangeSize()">Size</button>
<br>
<small>ngx-ui-scroll version: {{datasource.adapter.version}}</small>
<small>ngx-ui-scroll version: {{datasource.adapter.packageInfo.consumer.version}}</small>
<br>
<small>isLoading:
{{datasource.adapter.isLoading}}
Expand All @@ -47,14 +47,9 @@
</div>
<br><br>
</div>

<div class="viewport" #viewport style="height: 600px" id="my-viewport">
<div *ngIf="show">
<div
*uiScroll="let item of datasource"
(click)="doToggleItem(item)"
[style.height]="item.size + 'px'"
>
<div *uiScroll="let item of datasource" (click)="doToggleItem(item)" [style.height]="item.size + 'px'">
<app-samples-test-inner>
{{item.text}}
<span [style.color]="item.color">
Expand All @@ -63,4 +58,4 @@
</app-samples-test-inner>
</div>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion scroller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-ui-scroll",
"version": "3.0.2",
"version": "3.1.0",
"license": "MIT",
"peerDependencies": {
"@angular/common": ">=12.0.0",
Expand Down
2 changes: 1 addition & 1 deletion scroller/src/ui-scroll.version.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
name: 'ngx-ui-scroll',
version: '3.0.2'
version: '3.1.0'
};

0 comments on commit 64944f3

Please sign in to comment.