MCPcopy
hub / github.com/plotly/dash / getDataCellStyle

Function getDataCellStyle

components/dash-table/src/dash-table/derived/style/index.ts:168–178  ·  view source on GitHub ↗
(
        datum: Datum,
        i: number,
        column: IColumn,
        active: boolean,
        selected: boolean
    )

Source from the content-addressed store, hash-verified

166
167export const getDataCellStyle =
168 (
169 datum: Datum,
170 i: number,
171 column: IColumn,
172 active: boolean,
173 selected: boolean
174 ) =>
175 (styles: IConvertedStyle[]) =>
176 resolveStyle(
177 matchesDataCell(datum, i, column, active, selected)(styles)
178 );
179export const getDataOpCellStyle =
180 (datum: Datum, i: number) => (styles: IConvertedStyle[]) =>
181 resolveStyle(matchesDataOpCell(datum, i)(styles));

Callers 2

partialGetterFunction · 0.90
getterFunction · 0.90

Calls 2

matchesDataCellFunction · 0.90
resolveStyleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…