Skip to content

Commit 2b26d5f

Browse files
authored
Merge pull request #1786 from adumesny/master
added string to GridStackEvent since you can do 'added change'
2 parents 232fddb + e543d73 commit 2b26d5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gridstack.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ export * from './gridstack-ddi';
2121
export interface GridHTMLElement extends HTMLElement {
2222
gridstack?: GridStack; // grid's parent DOM element points back to grid class
2323
}
24+
/** list of possible events, or space separated list of them */
2425
export type GridStackEvent = 'added' | 'change' | 'disable' | 'drag' | 'dragstart' | 'dragstop' | 'dropped' |
25-
'enable' | 'removed' | 'resize' | 'resizestart' | 'resizestop';
26+
'enable' | 'removed' | 'resize' | 'resizestart' | 'resizestop' | string;
2627

2728
/** Defines the coordinates of an object */
2829
export interface MousePosition {

0 commit comments

Comments
 (0)