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): number

Deprecated.

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

NameTypeDescription
rownumber
focusedRownumber
reservePxnumber
reserveIncludesFocusedboolean

Return values

Returns number.


What’s Next

Did this page help you?