UNPKG

868 BTypeScriptView Raw
1/**
2 * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 */
5/**
6 * @module table/tablecolumnresize/constants
7 */
8/**
9 * The minimum column width given as a percentage value. Used in situations when the table is not yet rendered, so it is impossible to
10 * calculate how many percentage of the table width would be {@link ~COLUMN_MIN_WIDTH_IN_PIXELS minimum column width in pixels}.
11 */
12export declare const COLUMN_MIN_WIDTH_AS_PERCENTAGE = 5;
13/**
14 * The minimum column width in pixels when the maximum table width is known.
15 */
16export declare const COLUMN_MIN_WIDTH_IN_PIXELS = 40;
17/**
18 * Determines how many digits after the decimal point are used to store the column width as a percentage value.
19 */
20export declare const COLUMN_WIDTH_PRECISION = 2;