getBusySpinnerHeight
Get the height of the BusySpinner for the given UI resolution
import { getBusySpinnerHeight } from "@roku-sdk/components/busy-spinner";getBusySpinnerHeight(res?: "hd" | "fhd"): numberDescription
Get the height of the BusySpinner for the given UI resolution. Defaults to FHD (120px) if resolution is not provided.
Parameters
| Name | Type | Description |
|---|---|---|
res? | "hd" | "fhd" | The resolution key ("hd", "fhd" or undefined) |
Return values
Height in pixels (80 for HD, 120 for FHD)
Updated about 7 hours ago
What’s Next
Did this page help you?