angular-gridster2
Advanced tools
Comparing version 17.0.0 to 18.0.0
{ | ||
"name": "angular-gridster2", | ||
"version": "17.0.0", | ||
"version": "18.0.0", | ||
"license": "MIT", | ||
@@ -10,4 +10,4 @@ "sideEffects": false, | ||
"peerDependencies": { | ||
"@angular/common": "^17.0.0", | ||
"@angular/core": "^17.0.0", | ||
"@angular/common": "^18.0.0", | ||
"@angular/core": "^18.0.0", | ||
"rxjs": "^7.0.0" | ||
@@ -51,2 +51,2 @@ }, | ||
} | ||
} | ||
} |
@@ -10,3 +10,3 @@ # angular-gridster2 | ||
### Requires Angular 17.x | ||
### Requires Angular 18.x | ||
@@ -26,3 +26,2 @@ ### For other Angular versions check the other branches. | ||
```javascript | ||
import {NgForOf} from '@angular/common'; | ||
import {Component} from '@angular/core'; | ||
@@ -33,3 +32,3 @@ import {GridsterComponent, GridsterItemComponent} from 'angular-gridster2'; | ||
standalone: true, | ||
imports: [NgForOf, GridsterComponent, GridsterItemComponent], | ||
imports: [GridsterComponent, GridsterItemComponent], | ||
... | ||
@@ -41,5 +40,7 @@ }) | ||
<gridster [options]="options"> | ||
<gridster-item [item]="item" *ngFor="let item of dashboard"> | ||
@for (item of dashboard; track item) { | ||
<gridster-item [item]="item"> | ||
<!-- your content here --> | ||
</gridster-item> | ||
} | ||
</gridster> | ||
@@ -102,6 +103,6 @@ ``` | ||
<div class="item-buttons"> | ||
<button md-icon-button md-raised-button class="drag-handler"> | ||
<button class="drag-handler"> | ||
<md-icon>open_with</md-icon> | ||
</button> | ||
<button md-icon-button md-raised-button class="remove-button" (click)="removeItem($event, item)" (touchstart)="removeItem($event, item)" mdTooltip="Remove"> | ||
<button class="remove-button" (click)="removeItem($event, item)" (touchstart)="removeItem($event, item)"> | ||
<md-icon>clear</md-icon> | ||
@@ -119,6 +120,6 @@ </button> | ||
<div class="item-buttons"> | ||
<button md-icon-button md-raised-button class="drag-handler"> | ||
<button class="drag-handler"> | ||
<md-icon>open_with</md-icon> | ||
</button> | ||
<button md-icon-button md-raised-button class="remove-button" (click)="removeItem($event, item)" (touchstart)="removeItem($event, item)" mdTooltip="Remove"> | ||
<button class="remove-button" (click)="removeItem($event, item)" (touchstart)="removeItem($event, item)"> | ||
<md-icon>clear</md-icon> | ||
@@ -138,2 +139,2 @@ </button> | ||
Copyright (c) 2023 Tiberiu Zuld | ||
Copyright (c) 2024 Tiberiu Zuld |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1056802
134
7834