StdDlgCustomItem

Free-form custom item in a StdDlgContentArea for content requiring custom layout

import { StdDlgCustomItem } from "@roku-sdk/components";
StdDlgCustomItem(props: IStdDlgCustomItemProps): JSX.Element

Description

Free-form custom item in a StdDlgContentArea for content requiring custom layout.

Parameters

NameTypeDescription
propsIStdDlgCustomItemProps

Example

<stdDlgCustomItem fixedWidthField={600}>
    <rectangle width={600} height={200} color="0x333333FF" />
</stdDlgCustomItem>

Types

IStdDlgCustomItemProps

Properties for the StdDlgCustomItem component.

Free-form dialog item in the content area requiring custom layout. Set focusable=true on child nodes if they need to receive focus (e.g., custom keyboard).

NameTypeDescription
fixedWidthField?numberDesired width passed to the content area's layout algorithm. Typically used with DynamicCustomKeyboard nodes.
widthField?numberWidth of the custom item enforced by the content area's layout algorithm (read-only).

Extends IStdDlgItemBaseProps.


Did this page help you?