gridstack
Advanced tools
Comparing version 2.0.0-rc2 to 2.0.0-rc3
@@ -301,2 +301,3 @@ /** | ||
* @param removeDOM if `false` DOM element won't be removed from the tree (Default? true). | ||
* @param triggerEvent if `false` (quiet mode) element will not be added to removed list and no 'removed' callbacks will be called (Default? true). | ||
*/ | ||
@@ -303,0 +304,0 @@ removeWidget(els: GridStackElement, removeDOM?: boolean, triggerEvent?: boolean): GridStack; |
@@ -9,2 +9,3 @@ Change log | ||
- [2.0.0-dev (upcoming)](#200-dev-upcoming) | ||
- [1.2.1 (2020-09-04)](#121-2020-09-04) | ||
- [1.2.0 (2020-08-01)](#120-2020-08-01) | ||
@@ -49,3 +50,8 @@ - [1.1.2 (2020-05-17)](#112-2020-05-17) | ||
- fix [1102](https://github.com/gridstack/gridstack.js/issues/1102) loose functionality when they are moved to a new grid | ||
- add optional params to `removeWidget()` to have quiet mode (no callbacks) | ||
## 1.2.1 (2020-09-04) | ||
- fix [1341](https://github.com/gridstack/gridstack.js/pull/1341) Enable the UMD behavior for bundlers compatibility | ||
## 1.2.0 (2020-08-01) | ||
@@ -52,0 +58,0 @@ |
@@ -52,4 +52,4 @@ gridstack.js API | ||
- [move(el, x, y)](#moveel-x-y) | ||
- [removeWidget(el[, removeDOM])](#removewidgetel-removedom) | ||
- [removeAll([removeDOM])](#removeallremovedom) | ||
- [removeWidget(el, removeDOM = true, triggerEvent = true)](#removewidgetel-removedom--true-triggerevent--true) | ||
- [removeAll(removeDOM = true)](#removeallremovedom--true) | ||
- [resize(el, width, height)](#resizeel-width-height) | ||
@@ -468,3 +468,3 @@ - [resizable(el, val)](#resizableel-val) | ||
### removeWidget(el[, removeDOM]) | ||
### removeWidget(el, removeDOM = true, triggerEvent = true) | ||
@@ -477,4 +477,5 @@ Removes widget from the grid. | ||
- `removeDOM` - if `false` node won't be removed from the DOM (Optional. Default `true`). | ||
- `triggerEvent` if `false` (quiet mode) element will not be added to removed list and no 'removed' callbacks will be called (Default `true`). | ||
### removeAll([removeDOM]) | ||
### removeAll(removeDOM = true) | ||
@@ -481,0 +482,0 @@ Removes all widgets from the grid. |
{ | ||
"name": "gridstack", | ||
"version": "2.0.0-rc2", | ||
"version": "2.0.0-rc3", | ||
"description": "TypeScript/Javascript lib for dashboard layout and creation, no external dependencies, with many wrappers (React, Angular, Ember, knockout...)", | ||
"main": "./dist/index.js", | ||
"typings": "./dist/index.d.ts", | ||
"main": "./dist/gridstack.js", | ||
"types": "./dist/gridstack.d.ts", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -80,3 +80,3 @@ gridstack.js | ||
legacy javascript | ||
legacy javascript. If you need to import individual files (see [jquery apps](#jquery-application) section) | ||
@@ -83,0 +83,0 @@ ```js |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
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
1876890
5689