getBusySpinnerWidth

Get the width of the BusySpinner for the given UI resolution

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

Description

Get the width 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

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


What’s Next

Did this page help you?