From 5715f2383b9af7c3369a3ad62e630fe690cd21bb Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Sat, 25 May 2024 07:15:20 -0700 Subject: [PATCH] comment update --- src/types.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/types.ts b/src/types.ts index af1226cbb..0c7d99ad2 100644 --- a/src/types.ts +++ b/src/types.ts @@ -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 {