Interface: ScrollViewOptions
Properties
| Property | Type | Description |
|---|---|---|
alignment? | LayoutAlignment | - |
brake? | number | - |
height? | number | - |
horizontal? | boolean | ScrollViewComponent settings (defaults come from the component). |
inertia? | boolean | - |
layout? | LayoutType | Optional content layout — a LayoutComponent is always attached to the content node; these configure it. resizeMode: Container makes the content auto-fit its items so the scroll extent tracks them. |
maskColor? | number | Fill colour of the clip-shape graphics. It's used only as the mask stencil (Pixi doesn't draw a mask source), so this is rarely relevant. |
maxColumns? | number | - |
resizeMode? | LayoutResizeMode | - |
spacingX? | number | - |
spacingY? | number | - |
vertical? | boolean | - |
width? | number | Viewport (visible window) size. Omit an axis to inherit the parent's UITransform size on it. |