resolveGridPlugins
Resolves plugin entries during grid initialization
Available since @roku-sdk/flex-grid 3.3.0
import { resolveGridPlugins } from "@roku-sdk/flex-grid";resolveGridPlugins<T>(plugins?: GridPluginEntry<T>[]): ResolvedGridPlugins<T>Deprecated.
Plugin resolution is managed by createFlexGrid. Will be removed from the public exports in the next major version.
Description
Resolves plugin entries during grid initialization.
Parameters
| Name | Type | Description |
|---|---|---|
plugins? | GridPluginEntry<T>[] |
Return values
Returns ResolvedGridPlugins<T>.
Types
ResolvedGridPlugins
Deprecated.
Plugin resolution is managed by createFlexGrid. Will be removed from the public exports in the next major version.
Resolved plugin collections used during grid initialization.
| Name | Type | Description |
|---|---|---|
capabilities | Set<"focusVisual"> | Union of every init plugin's provides; exposed to plugins as internals.capabilities. |
cellTemplates | PluginCellTemplate<T>[] | Cell templates contributed by init plugins, in init order. Empty for the common case, so the routing wrapper can be skipped entirely. |
initPlugins | GridInitPlugin<T>[] | init call order: each InitGridPlugin in plugins[] source order (excluding perf). |
perf? | PerfPlugin | |
reservedRowTop | number | Sum of every init plugin's reservedRowTop; folded into the engine row pitch. |
rowCardsWraps | RowCardsWrap[] | Every init plugin's wrapRowCards, in plugins[] order. Empty for the common case. |
GridInitPlugin
Plugins that receive init(internals).
type GridInitPlugin<T = unknown> = InitGridPlugin<T>;Updated about 3 hours ago
What’s Next
Did this page help you?