getBusySpinnerHeight

Get the height of the BusySpinner for the given UI resolution

import { getBusySpinnerHeight } from "@roku-sdk/components/busy-spinner";
getBusySpinnerHeight(res?: "hd" | "fhd"): number

Description

Get the height of the BusySpinner for the given UI resolution. Defaults to FHD (120px) if resolution is not provided.

Parameters

NameTypeDescription
res?"hd" | "fhd"The resolution key ("hd", "fhd" or undefined)

Return values

Height in pixels (80 for HD, 120 for FHD)


What’s Next

Did this page help you?