computeBobRowReserve
Computes the extra row spacing reserved by the bob plugin
import { computeBobRowReserve } from "@roku-sdk/flex-grid/bob-in-the-middle";computeBobRowReserve(row: number, focusedRow: number, reservePx: number, reserveIncludesFocused: boolean): numberDeprecated.
Bob geometry is managed by the bob plugin. Will be removed from the public exports in the next major version.
Description
Computes the extra row spacing reserved by the bob plugin.
Parameters
| Name | Type | Description |
|---|---|---|
row | number | |
focusedRow | number | |
reservePx | number | |
reserveIncludesFocused | boolean |
Return values
Returns number.
Updated 18 days ago
What’s Next
Did this page help you?