import { ModifyContentAction } from '../../../dto/actions/modify-content-action.abstract';
export const TOGGLE_HEADER_TABLE_COLUMN = 'TOGGLE_HEADER_TABLE_COLUMN';
/**
 * Action to toggle header state of a table column in the RTETable.
 */
export class ToggleHeaderTableColumnAction extends ModifyContentAction {
  constructor(tableCellHeaderRange, headerOn) {
    super();
    this.isFlushable = true;
    this.type = TOGGLE_HEADER_TABLE_COLUMN;
    this.headerOn = false;
    this.tableCellHeaderRange = tableCellHeaderRange;
    this.headerOn = headerOn;
  }
}
