angular-gridster2
Advanced tools
Comparing version 3.12.0 to 3.13.0
{ | ||
"name": "angular-gridster2", | ||
"version": "3.12.0", | ||
"version": "3.13.0", | ||
"license": "MIT", | ||
@@ -49,21 +49,21 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@angular/animations": "5.0.0-beta.3", | ||
"@angular/cdk": "2.0.0-beta.8", | ||
"@angular/cli": "1.3.2", | ||
"@angular/common": "5.0.0-beta.3", | ||
"@angular/compiler": "5.0.0-beta.3", | ||
"@angular/compiler-cli": "5.0.0-beta.3", | ||
"@angular/core": "5.0.0-beta.3", | ||
"@angular/forms": "5.0.0-beta.3", | ||
"@angular/http": "5.0.0-beta.3", | ||
"@angular/language-service": "5.0.0-beta.3", | ||
"@angular/material": "2.0.0-beta.8", | ||
"@angular/platform-browser": "5.0.0-beta.3", | ||
"@angular/platform-browser-dynamic": "5.0.0-beta.3", | ||
"@angular/platform-server": "5.0.0-beta.3", | ||
"@angular/router": "5.0.0-beta.3", | ||
"@types/jasmine": "2.5.54", | ||
"@types/node": "8.0.25", | ||
"codelyzer": "3.1.2", | ||
"core-js": "2.5.0", | ||
"@angular/animations": "5.0.0-rc.1", | ||
"@angular/cdk": "2.0.0-beta.12", | ||
"@angular/cli": "1.5.0-beta.4", | ||
"@angular/common": "5.0.0-rc.1", | ||
"@angular/compiler": "5.0.0-rc.1", | ||
"@angular/compiler-cli": "5.0.0-rc.1", | ||
"@angular/core": "5.0.0-rc.1", | ||
"@angular/forms": "5.0.0-rc.1", | ||
"@angular/http": "5.0.0-rc.1", | ||
"@angular/language-service": "5.0.0-rc.1", | ||
"@angular/material": "2.0.0-beta.12", | ||
"@angular/platform-browser": "5.0.0-rc.1", | ||
"@angular/platform-browser-dynamic": "5.0.0-rc.1", | ||
"@angular/platform-server": "5.0.0-rc.1", | ||
"@angular/router": "5.0.0-rc.1", | ||
"@types/jasmine": "2.6.0", | ||
"@types/node": "8.0.33", | ||
"codelyzer": "3.2.1", | ||
"core-js": "2.5.1", | ||
"gulp": "3.9.1", | ||
@@ -75,3 +75,3 @@ "gulp-clean": "0.3.2", | ||
"jasmine-spec-reporter": "4.2.1", | ||
"karma": "1.7.0", | ||
"karma": "1.7.1", | ||
"karma-chrome-launcher": "2.2.0", | ||
@@ -83,3 +83,3 @@ "karma-cli": "1.0.1", | ||
"protractor": "5.1.2", | ||
"systemjs": "0.20.18", | ||
"systemjs": "0.20.19", | ||
"rxjs": "5.4.3", | ||
@@ -90,5 +90,5 @@ "ts-helpers": "1.1.2", | ||
"tslint": "5.7.0", | ||
"typescript": "2.4.2", | ||
"zone.js": "0.8.17" | ||
"typescript": "2.5.3", | ||
"zone.js": "0.8.18" | ||
} | ||
} |
@@ -13,3 +13,3 @@ angular-gridster2 | ||
### Angular 2.x library is [2.4.x branch](https://github.com/tiberiuzuld/angular-gridster2/tree/2.4.x) | ||
### AngularJS 1.x library is [1.x branch](https://github.com/tiberiuzuld/angular-gridster2/tree/1.x) | ||
### AngularJS >=1.5.x library is [1.x branch](https://github.com/tiberiuzuld/angular-gridster2/tree/1.x) | ||
@@ -23,6 +23,6 @@ ## Install | ||
```javascript | ||
import {GridsterModule} from 'angular-gridster2'; | ||
import { GridsterModule } from 'angular-gridster2'; | ||
@NgModule({ | ||
imports: [GridsterModule], | ||
imports: [ GridsterModule ], | ||
... | ||
@@ -45,3 +45,3 @@ }) | ||
```typescript | ||
import {GridsterConfig, GridsterItem} from 'angular-gridster2'; | ||
import { GridsterConfig, GridsterItem } from 'angular-gridster2'; | ||
options: GridsterConfig; | ||
@@ -87,3 +87,3 @@ dashboard: Array<GridsterItem>; | ||
```typescript | ||
import {GridsterConfig} from 'angular-gridster2'; | ||
import { GridsterConfig } from 'angular-gridster2'; | ||
@@ -126,6 +126,10 @@ export const GridsterConfigService: GridsterConfig = { | ||
// Arguments: gridsterItem, gridsterItemComponent | ||
itemRemovedCallback: undefined, // callback to call for each item when is removed. | ||
// Arguments: gridsterItem, gridsterItemComponent | ||
enableEmptyCellClick: false, // enable empty cell click events | ||
enableEmptyCellContextMenu: false, // enable empty cell context menu (right click) events | ||
enableEmptyCellDrop: false, // enable empty cell drop events | ||
enableEmptyCellDrag: false, // enable empty cell drag events | ||
emptyCellClickCallback: undefined, // empty cell click callback | ||
emptyCellContextMenuCallback: undefined, // empty cell context menu (right click) callback | ||
emptyCellDropCallback: undefined, // empty cell drag drop callback. HTML5 Drag & Drop | ||
@@ -202,3 +206,3 @@ emptyCellDragCallback: undefined, // empty cell drag and create item like excel cell selection | ||
.... | ||
this.itemChange.emit(this.state.item); // triggered when a item cols,rows, x ,y changed | ||
this.itemChange.emit(this.state.item); // triggered when a item cols, rows, x, y changed | ||
this.itemResize.emit(this.state.item); // triggered when a item width/height changed | ||
@@ -205,0 +209,0 @@ ``` |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
253
0
227982
79
2732
1