StdDlgCustomItem
Free-form custom item in a StdDlgContentArea for content requiring custom layout
import { StdDlgCustomItem } from "@roku-sdk/components";StdDlgCustomItem(props: IStdDlgCustomItemProps): JSX.ElementDescription
Free-form custom item in a StdDlgContentArea for content requiring custom layout.
Parameters
| Name | Type | Description |
|---|---|---|
props | IStdDlgCustomItemProps |
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).
| Name | Type | Description |
|---|---|---|
fixedWidthField? | number | Desired width passed to the content area's layout algorithm. Typically used with DynamicCustomKeyboard nodes. |
widthField? | number | Width of the custom item enforced by the content area's layout algorithm (read-only). |
Extends IStdDlgItemBaseProps.
Updated about 4 hours ago
What’s Next
Did this page help you?