-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(resizer): allow gridHeight/gridWidth to be passed as string (#284)
* fix(resizer): allow gridHeight/gridWidth to be passed as string - fixes Aurelia-Slickgrid issue [#534](ghiscoding/aurelia-slickgrid#534)
- Loading branch information
1 parent
bb7dcd3
commit 20bda50
Showing
3 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
export interface GridSize { | ||
/** Height of the grid */ | ||
height?: number; | ||
/** | ||
* When using a fixed grid height, can be a number or a string. | ||
* if a number is provided it will add the `px` suffix for pixels, or if a string is passed it will use it as is. | ||
*/ | ||
height?: number | string; | ||
|
||
/** Width of the grid */ | ||
width?: number; | ||
/** | ||
* When using a fixed grid width, can be a number or a string. | ||
* if a number is provided it will add the `px` suffix for pixels, or if a string is passed it will use it as is. | ||
*/ | ||
width?: number | string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters