gridstack
Advanced tools
Comparing version 10.0.0 to 10.0.1
@@ -21,3 +21,3 @@ { | ||
"@angular/router": "^14.2.0", | ||
"gridstack": "^9.5.1", | ||
"gridstack": "^10.0.0", | ||
"rxjs": "~7.5.0", | ||
@@ -24,0 +24,0 @@ "tslib": "^2.3.0", |
{ | ||
"name": "gridstack-angular", | ||
"version": "10.0.0", | ||
"version": "10.0.1", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^14.2.0", |
/** | ||
* gridstack-item.component.ts 10.0.0 | ||
* gridstack-item.component.ts 10.0.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack-item.component.ts 10.0.0 | ||
* gridstack-item.component.ts 10.0.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack.component.ts 10.0.0 | ||
* gridstack.component.ts 10.0.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack.component.ts 10.0.0 | ||
* gridstack.component.ts 10.0.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack-item.component.ts 10.0.0 | ||
* gridstack-item.component.ts 10.0.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack.component.ts 10.0.0 | ||
* gridstack.component.ts 10.0.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
{ | ||
"name": "gridstack-angular", | ||
"version": "10.0.0", | ||
"version": "10.0.1", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^14.2.0", |
/** | ||
* gridstack-item.component.ts 10.0.0 | ||
* gridstack-item.component.ts 10.0.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack-item.component.ts 10.0.0 | ||
* gridstack-item.component.ts 10.0.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack.component.ts 10.0.0 | ||
* gridstack.component.ts 10.0.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack.component.ts 10.0.0 | ||
* gridstack.component.ts 10.0.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-base-impl.ts 10.0.0 | ||
* dd-base-impl.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-base-impl.ts 10.0.0 | ||
* dd-base-impl.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-draggable.ts 10.0.0 | ||
* dd-draggable.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-draggable.ts 10.0.0 | ||
* dd-draggable.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-droppable.ts 10.0.0 | ||
* dd-droppable.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-droppable.ts 10.0.0 | ||
* dd-droppable.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-elements.ts 10.0.0 | ||
* dd-elements.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-elements.ts 10.0.0 | ||
* dd-elements.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-gridstack.ts 10.0.0 | ||
* dd-gridstack.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-gridstack.ts 10.0.0 | ||
* dd-gridstack.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-manager.ts 10.0.0 | ||
* dd-manager.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-manager.ts 10.0.0 | ||
* dd-manager.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-resizable-handle.ts 10.0.0 | ||
* dd-resizable-handle.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-resizable-handle.ts 10.0.0 | ||
* dd-resizable-handle.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-resizable.ts 10.0.0 | ||
* dd-resizable.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-resizable.ts 10.0.0 | ||
* dd-resizable.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* touch.ts 10.0.0 | ||
* touch.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* touch.ts 10.0.0 | ||
* touch.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-base-impl.ts 10.0.0 | ||
* dd-base-impl.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* dd-base-impl.ts 10.0.0 | ||
* dd-base-impl.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* dd-draggable.ts 10.0.0 | ||
* dd-draggable.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* dd-draggable.ts 10.0.0 | ||
* dd-draggable.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* dd-droppable.ts 10.0.0 | ||
* dd-droppable.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* dd-droppable.ts 10.0.0 | ||
* dd-droppable.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* dd-elements.ts 10.0.0 | ||
* dd-elements.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* dd-elements.ts 10.0.0 | ||
* dd-elements.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* dd-gridstack.ts 10.0.0 | ||
* dd-gridstack.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* dd-gridstack.ts 10.0.0 | ||
* dd-gridstack.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* dd-manager.ts 10.0.0 | ||
* dd-manager.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* dd-manager.ts 10.0.0 | ||
* dd-manager.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* dd-resizable-handle.ts 10.0.0 | ||
* dd-resizable-handle.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* dd-resizable-handle.ts 10.0.0 | ||
* dd-resizable-handle.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* dd-resizable.ts 10.0.0 | ||
* dd-resizable.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* dd-resizable.ts 10.0.0 | ||
* dd-resizable.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* touch.ts 10.0.0 | ||
* touch.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* touch.ts 10.0.0 | ||
* touch.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/*! | ||
* GridStack 10.0.0 | ||
* GridStack 10.0.1 | ||
* https://gridstackjs.com/ | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* gridstack-engine.ts 10.0.0 | ||
* gridstack-engine.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* gridstack-engine.ts 10.0.0 | ||
* gridstack-engine.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* gridstack-poly.ts 10.0.0 used for IE and older browser support (not supported in v2-v4.3.1, but again in v4.4) | ||
* gridstack-poly.ts 10.0.1 used for IE and older browser support (not supported in v2-v4.3.1, but again in v4.4) | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* GridStack 10.0.0 | ||
* GridStack 10.0.1 | ||
* https://gridstackjs.com/ | ||
@@ -329,7 +329,8 @@ * | ||
* Note: this assumes only 1 child under resizeToContentParent='.grid-stack-item-content' (sized to gridItem minus padding) that is at the entire content size wanted. | ||
* useAttrSize set to true if GridStackNode.h should be used instead of actual container height when we don't need to wait for animation to finish to get actual DOM heights | ||
* @param el grid item element | ||
* @param useNodeH set to true if GridStackNode.h should be used instead of actual container height when we don't need to wait for animation to finish to get actual DOM heights | ||
*/ | ||
resizeToContent(el: GridItemHTMLElement, useAttrSize?: boolean): void; | ||
resizeToContent(el: GridItemHTMLElement): void; | ||
/** call the user resize (so they can do extra work) else our build in version */ | ||
protected resizeToContentCheck(el: GridItemHTMLElement, useAttr?: boolean): void; | ||
private resizeToContentCBCheck; | ||
/** | ||
@@ -361,3 +362,4 @@ * Updates the margins which will set all 4 sides at once - see `GridStackOptions.margin` for format options (CSS string format of 1,2,4 values or single number). | ||
onResize(): GridStack; | ||
private doContentResize; | ||
/** resizes content for given node (or all) if shouldSizeToContent() is true */ | ||
private resizeToContentCheck; | ||
/** add or remove the grid element size event handler */ | ||
@@ -364,0 +366,0 @@ protected _updateResizeEvent(forceRemove?: boolean): GridStack; |
/** | ||
* types.ts 10.0.0 | ||
* types.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -38,3 +38,3 @@ */ | ||
export type SaveFcn = (node: GridStackNode, w: GridStackWidget) => void; | ||
export type ResizeToContentFcn = (el: GridItemHTMLElement, useAttr?: boolean) => void; | ||
export type ResizeToContentFcn = (el: GridItemHTMLElement) => void; | ||
/** describes the responsive nature of the grid */ | ||
@@ -85,3 +85,3 @@ export interface Responsive { | ||
* an integer (px) | ||
* a string (ex: '100px', '10em', '10rem'). Note: % doesn't right - see demo/cell-height.html | ||
* a string (ex: '100px', '10em', '10rem'). Note: % doesn't work right - see demo/cell-height.html | ||
* 0, in which case the library will not generate styles for rows. Everything must be defined in your own CSS files. | ||
@@ -88,0 +88,0 @@ * 'auto' - height will be calculated for square cells (width / column) and updated live as you resize the window - also see `cellHeightThrottle` |
"use strict"; | ||
/** | ||
* types.ts 10.0.0 | ||
* types.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* utils.ts 10.0.0 | ||
* utils.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -55,3 +55,3 @@ */ | ||
/** removed the given stylesheet id */ | ||
static removeStylesheet(id: string): void; | ||
static removeStylesheet(id: string, parent?: HTMLElement): void; | ||
/** inserts a CSS rule */ | ||
@@ -58,0 +58,0 @@ static addCSSRule(sheet: CSSStyleSheet, selector: string, rules: string): void; |
"use strict"; | ||
/** | ||
* utils.ts 10.0.0 | ||
* utils.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -206,4 +206,5 @@ */ | ||
/** removed the given stylesheet id */ | ||
Utils.removeStylesheet = function (id) { | ||
var el = document.querySelector('STYLE[gs-style-id=' + id + ']'); | ||
Utils.removeStylesheet = function (id, parent) { | ||
var target = parent || document; | ||
var el = target.querySelector('STYLE[gs-style-id=' + id + ']'); | ||
if (el && el.parentNode) | ||
@@ -210,0 +211,0 @@ el.remove(); |
/*! | ||
* GridStack 10.0.0 | ||
* GridStack 10.0.1 | ||
* https://gridstackjs.com/ | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* gridstack-engine.ts 10.0.0 | ||
* gridstack-engine.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack-engine.ts 10.0.0 | ||
* gridstack-engine.ts 10.0.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* GridStack 10.0.0 | ||
* GridStack 10.0.1 | ||
* https://gridstackjs.com/ | ||
@@ -329,7 +329,8 @@ * | ||
* Note: this assumes only 1 child under resizeToContentParent='.grid-stack-item-content' (sized to gridItem minus padding) that is at the entire content size wanted. | ||
* useAttrSize set to true if GridStackNode.h should be used instead of actual container height when we don't need to wait for animation to finish to get actual DOM heights | ||
* @param el grid item element | ||
* @param useNodeH set to true if GridStackNode.h should be used instead of actual container height when we don't need to wait for animation to finish to get actual DOM heights | ||
*/ | ||
resizeToContent(el: GridItemHTMLElement, useAttrSize?: boolean): void; | ||
resizeToContent(el: GridItemHTMLElement): void; | ||
/** call the user resize (so they can do extra work) else our build in version */ | ||
protected resizeToContentCheck(el: GridItemHTMLElement, useAttr?: boolean): void; | ||
private resizeToContentCBCheck; | ||
/** | ||
@@ -361,3 +362,4 @@ * Updates the margins which will set all 4 sides at once - see `GridStackOptions.margin` for format options (CSS string format of 1,2,4 values or single number). | ||
onResize(): GridStack; | ||
private doContentResize; | ||
/** resizes content for given node (or all) if shouldSizeToContent() is true */ | ||
private resizeToContentCheck; | ||
/** add or remove the grid element size event handler */ | ||
@@ -364,0 +366,0 @@ protected _updateResizeEvent(forceRemove?: boolean): GridStack; |
/** | ||
* types.ts 10.0.0 | ||
* types.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -38,3 +38,3 @@ */ | ||
export type SaveFcn = (node: GridStackNode, w: GridStackWidget) => void; | ||
export type ResizeToContentFcn = (el: GridItemHTMLElement, useAttr?: boolean) => void; | ||
export type ResizeToContentFcn = (el: GridItemHTMLElement) => void; | ||
/** describes the responsive nature of the grid */ | ||
@@ -85,3 +85,3 @@ export interface Responsive { | ||
* an integer (px) | ||
* a string (ex: '100px', '10em', '10rem'). Note: % doesn't right - see demo/cell-height.html | ||
* a string (ex: '100px', '10em', '10rem'). Note: % doesn't work right - see demo/cell-height.html | ||
* 0, in which case the library will not generate styles for rows. Everything must be defined in your own CSS files. | ||
@@ -88,0 +88,0 @@ * 'auto' - height will be calculated for square cells (width / column) and updated live as you resize the window - also see `cellHeightThrottle` |
/** | ||
* types.ts 10.0.0 | ||
* types.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* utils.ts 10.0.0 | ||
* utils.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -55,3 +55,3 @@ */ | ||
/** removed the given stylesheet id */ | ||
static removeStylesheet(id: string): void; | ||
static removeStylesheet(id: string, parent?: HTMLElement): void; | ||
/** inserts a CSS rule */ | ||
@@ -58,0 +58,0 @@ static addCSSRule(sheet: CSSStyleSheet, selector: string, rules: string): void; |
/** | ||
* utils.ts 10.0.0 | ||
* utils.ts 10.0.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -170,4 +170,5 @@ */ | ||
/** removed the given stylesheet id */ | ||
static removeStylesheet(id) { | ||
let el = document.querySelector('STYLE[gs-style-id=' + id + ']'); | ||
static removeStylesheet(id, parent) { | ||
const target = parent || document; | ||
let el = target.querySelector('STYLE[gs-style-id=' + id + ']'); | ||
if (el && el.parentNode) | ||
@@ -174,0 +175,0 @@ el.remove(); |
@@ -8,2 +8,3 @@ Change log | ||
- [10.0.1 (2023-12-10)](#1001-2023-12-10) | ||
- [10.0.0 (2023-11-20)](#1000-2023-11-20) | ||
@@ -109,2 +110,10 @@ - [9.5.1 (2023-11-11)](#951-2023-11-11) | ||
## 10.0.1 (2023-12-10) | ||
* fix: [#2552](https://github.com/gridstack/gridstack.js/issues/2552) DOM init doesn't sizeToContent | ||
* fix: [#2561](https://github.com/gridstack/gridstack.js/pull/2561) issues with sizeToContent animation, cleanup, etc... | ||
* fix: [#2427](https://github.com/gridstack/gridstack.js/issues/2427) sizeToContent supports rem/em cell height | ||
* fix: [#2558](https://github.com/gridstack/gridstack.js/pull/2558) remove style node in shadow root | ||
* fix: [#2556](https://github.com/gridstack/gridstack.js/pull/2556) make sure 'new GridStack(el)' set el.gridstack=this right away | ||
* cleanup: [#2550](https://github.com/gridstack/gridstack.js/pull/2550) Optimize resize arrow (~88% lighter from 1.82 KB to 225B) | ||
## 10.0.0 (2023-11-20) | ||
@@ -116,3 +125,3 @@ * feat [#2542](https://github.com/gridstack/gridstack.js/pull/2542) we now support much richer responsive behavior with `GridStackOptions.columnOpts` including any breakpoint width:column pairs, or automatic column sizing. | ||
* fix [#2525](https://github.com/gridstack/gridstack.js/commit/2525) Fixed unhandled exception happening in _mouseMove handler | ||
* fix potential crash in doContentResize() if grid gets deleted by the time the delay happens | ||
* fix potential crash in resizeToContentCheck() if grid gets deleted by the time the delay happens | ||
* fix [#2527](https://github.com/gridstack/gridstack.js/issues/2527) Incorrect layout on grid load in one column mode | ||
@@ -119,0 +128,0 @@ * fix [#2496](https://github.com/gridstack/gridstack.js/issues/2496) animation on init, introduced in 8.1.1 |
@@ -56,3 +56,3 @@ gridstack.js API | ||
- [`makeWidget(el)`](#makewidgetel) | ||
- [`makeSubgrid(el)`](#makesubgridel) | ||
- [`makeSubGrid(el)`](#makesubgridel) | ||
- [`margin(value: numberOrString)`](#marginvalue-numberorstring) | ||
@@ -153,3 +153,3 @@ - [`movable(el, val)`](#movableel-val) | ||
### DDDragInOpt extends DDDragOpt | ||
- `helper`?: 'clone' | ((event: Event) => HTMLElement) - helper function when dropping (ex: 'clone' or your own method) | ||
- `helper`?: 'clone' | ((event: Event) => HTMLElement) - helper function when dropping (ex: 'clone' or your own method) | ||
@@ -339,3 +339,3 @@ ## Grid attributes | ||
### `addGrid(parent: HTMLElement, opt: GridStackOptions = {}): GridStack ` | ||
### `addGrid(parent: HTMLElement, opt: GridStackOptions = {}): GridStack ` | ||
@@ -391,4 +391,4 @@ * call to create a grid with the given options, including loading any children from JSON structure. This will call `GridStack.init()`, then `grid.load()` on any passed children (recursively). Great alternative to calling `init()` if you want entire grid to come from JSON serialized data, including options. | ||
- `doSort` - `false` to let you do your own sorting ahead in case you need to control a different order. (default to sort) | ||
### `cellHeight(val: number, update = true)` | ||
@@ -529,3 +529,3 @@ | ||
``` | ||
### `makeSubgrid(el)` | ||
### `makeSubGrid(el)` | ||
Used to add a subgrid into an existing grid. | ||
@@ -541,3 +541,3 @@ ```js | ||
</div>`) | ||
grid.addSubGrid(grid.el.getElementById('nested-grid')) | ||
grid.makeSubGrid(grid.el.getElementById('nested-grid')) | ||
``` | ||
@@ -544,0 +544,0 @@ Make sure that the subgrid is inside of a grid item. It is important to remember that subgrids are themselves grid items capable of containing other grid items. |
{ | ||
"name": "gridstack", | ||
"version": "10.0.0", | ||
"version": "10.0.1", | ||
"license": "MIT", | ||
@@ -86,3 +86,3 @@ "author": "Alain Dumesny <alaind831+github@gmail.com> (https://github.com/adumesny)", | ||
"karma-jasmine": "^5.1.0", | ||
"karma-typescript": "5.5.3", | ||
"karma-typescript": "5.5.4", | ||
"protractor": "^7.0.0", | ||
@@ -89,0 +89,0 @@ "sass": "^1.62.0", |
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
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 too big to display
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 too big to display
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 too big to display
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 too big to display
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
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
2838384
18077