Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Skipped
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
/**
|
|
* types.ts 12.6.0
|
|
* Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license
|
|
*/
|
|
/**
|
|
* Default values for grid options - used during initialization and when saving out grid configuration.
|
|
* These values are applied when options are not explicitly provided.
|
|
*/
|
|
export const gridDefaults = {
|
|
alwaysShowResizeHandle: 'mobile',
|
|
animate: true,
|
|
auto: true,
|
|
cellHeight: 'auto',
|
|
cellHeightThrottle: 100,
|
|
cellHeightUnit: 'px',
|
|
column: 12,
|
|
draggable: { handle: '.grid-stack-item-content', appendTo: 'body', scroll: true },
|
|
handle: '.grid-stack-item-content',
|
|
itemClass: 'grid-stack-item',
|
|
margin: 10,
|
|
marginUnit: 'px',
|
|
maxRow: 0,
|
|
minRow: 0,
|
|
placeholderClass: 'grid-stack-placeholder',
|
|
placeholderText: '',
|
|
removableOptions: { accept: 'grid-stack-item', decline: 'grid-stack-non-removable' },
|
|
resizable: { handles: 'se' },
|
|
rtl: 'auto',
|
|
// **** same as not being set ****
|
|
// disableDrag: false,
|
|
// disableResize: false,
|
|
// float: false,
|
|
// handleClass: null,
|
|
// removable: false,
|
|
// staticGrid: false,
|
|
//removable
|
|
};
|
|
//# sourceMappingURL=types.js.map |