Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-gridster2

Package Overview
Dependencies
Maintainers
2
Versions
245
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-gridster2 - npm Package Compare versions

Comparing version 17.0.0 to 18.0.0

8

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc