import { Integer } from '@pbkware/js-utils'; import { RevSchemaField } from '../../common'; import { RevBehavioredColumnSettings } from '../settings'; import { RevColumn } from './column'; /** * Defines a column in the view layout. * @public */ export interface RevViewLayoutColumn { /** A back reference to the element's array index in {@link client/components/view/view-layout!RevViewLayout:class#columns}. */ index: Integer; /** Active index of column */ activeColumnIndex: Integer; column: RevColumn; /** Pixel coordinate of the left edge of this column, rounded to nearest integer. */ left: Integer; /** Pixel coordinate of the right edge of this column + 1, rounded to nearest integer. */ rightPlus1: Integer; /** Width of this column in pixels, rounded to nearest integer. */ width: Integer; }