@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
36 lines (35 loc) • 920 B
TypeScript
import { AdaptableStyle } from '../AdaptableState/Common/AdaptableStyle';
/**
* Properties for Flashing Cell
*/
export interface FlashingCellOptions {
/**
* Should a cell or whole row flash
* @defaultValue 'cell'
*/
defaultFlashTarget?: FlashTarget;
/**
* Style for 'Down' value changes
* @defaultValue Red BackColour
*/
defaultDownChangeStyle?: AdaptableStyle;
/**
* Style for 'Up' value changes
* @defaultValue Green BackColour
*/
defaultUpChangeStyle?: AdaptableStyle;
/**
* Style for 'Neutral' value changes
* @defaultValue Gray BackColour
*/
defaultNeutralChangeStyle?: AdaptableStyle;
/**
* Duration of Flash - can be number (in ms) or 'always'
* @defaultValue 500ms
*/
defaultFlashDuration?: number | 'always';
}
/**
* Where a Flash can happen
*/
export type FlashTarget = 'row' | 'cell';