UNPKG

gridstack

Version:

TypeScript/JS lib for dashboard layout and creation, responsive, mobile support, no external dependencies, with many wrappers (React, Angular, Vue, Ember, knockout...)

35 lines 1.06 kB
/** * types.ts 12.0.0 * Copyright (c) 2021-2024 Alain Dumesny - see GridStack root license */ // default values for grid options - used during init and when saving out 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