Skip to content

Commit

Permalink
Merge pull request #2679 from adumesny/master
Browse files Browse the repository at this point in the history
comment update
  • Loading branch information
adumesny authored May 25, 2024
2 parents 9b6c68f + 5715f23 commit 6b4ae89
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,18 @@ export type SaveFcn = (node: GridStackNode, w: GridStackWidget) => void;

export type ResizeToContentFcn = (el: GridItemHTMLElement) => void;

/** describes the responsive nature of the grid */
/** describes the responsive nature of the grid. NOTE: make sure to have correct extra CSS to support this. */
export interface Responsive {
/** wanted width to maintain (+-50%) to dynamically pick a column count */
/** wanted width to maintain (+-50%) to dynamically pick a column count. NOTE: make sure to have correct extra CSS to support this. */
columnWidth?: number;
/** maximum number of columns allowed (default: 12). Note: make sure to have correct extra CSS to support this.*/
/** maximum number of columns allowed (default: 12). NOTE: make sure to have correct extra CSS to support this. */
columnMax?: number;
/** global re-layout mode when changing columns */
layout?: ColumnOptions;
/** explicit width:column breakpoints instead of automatic 'columnWidth'. NOTE: make sure to have correct extra CSS to support this. */
breakpoints?: Breakpoint[];
/** specify if breakpoints are for window size or grid size (default:false = grid) */
breakpointForWindow?: boolean;
/** explicit width:column breakpoints instead of automatic 'columnWidth'. Note: make sure to have correct extra CSS to support this.*/
breakpoints?: Breakpoint[];
/** global re-layout mode when changing columns */
layout?: ColumnOptions;
}

export interface Breakpoint {
Expand Down

0 comments on commit 6b4ae89

Please sign in to comment.