UNPKG

handsontable

Version:

Handsontable is a JavaScript Data Grid available for React, Angular and Vue.

17 lines (16 loc) 661 B
"use strict"; exports.__esModule = true; const getCornerStyle = wot => { const stylesHandler = wot.wtSettings.getSetting('stylesHandler'); const cornerSizeFromVar = stylesHandler.getCSSVariableValue('cell-autofill-size'); const cornerBorderWidthFromVar = stylesHandler.getCSSVariableValue('cell-autofill-border-width'); const cornerColorFromVar = stylesHandler.getCSSVariableValue('cell-autofill-border-color'); return Object.freeze({ width: cornerSizeFromVar, height: cornerSizeFromVar, borderWidth: cornerBorderWidthFromVar, borderStyle: 'solid', borderColor: cornerColorFromVar }); }; exports.getCornerStyle = getCornerStyle;