Skip to content

ResponsivePluginConfig

Since v1.7.1

Angular-specific responsive config that allows an Angular component class as cardRenderer.

Extends the core ResponsivePluginConfig to accept a Type<unknown> for cardRenderer in addition to the vanilla (row, rowIndex, column?) => HTMLElement signature. Bridging to vanilla DOM is handled by the side-effect import @toolbox-web/grid-angular/features/responsive.

Re-exported from the feature entry under the same name as the core type so Angular consumers see a single canonical ResponsivePluginConfig from @toolbox-web/grid-angular/features/responsive.

type ResponsivePluginConfig = Omit<CoreResponsivePluginConfig<TRow>, "cardRenderer"> & { cardRenderer?: CoreResponsivePluginConfig<TRow>["cardRenderer"] | Type<unknown> }