Skip to main content

Scroller

For making Content scrollable. Equivalent to Roblox's Scroller instance.

Types

ScrollerProps

interface ScrollerProps {
...BaseProps
AutomaticCanvasSizeFusion.UsedAs<Enum.AutomaticSize>?
BottomImageFusion.UsedAs<string>?
CanvasPositionFusion.UsedAs<Vector2>?
CanvasSizeFusion.UsedAs<UDim2>?
ElasticBehaviorFusion.UsedAs<Enum.ElasticBehavior>?
HorizontalScrollBarInsetFusion.UsedAs<Enum.ScrollBarInset>?
MidImageFusion.UsedAs<string>?
ScrollBarImageColor3Fusion.UsedAs<Color3>?
ScrollBarImageTransparencyFusion.UsedAs<number>?
ScrollBarThicknessFusion.UsedAs<number>?
ScrollingDirectionFusion.UsedAs<Enum.ScrollingDirection>?
ScrollingEnabledFusion.UsedAs<boolean>?
TopImageFusion.UsedAs<string>?
VerticalScrollBarInsetFusion.UsedAs<Enum.ScrollBarInset>?
VerticalScrollBarPositionFusion.UsedAs<Enum.VerticalScrollBarPosition>?
}
Show raw api
{
    "functions": [],
    "properties": [],
    "types": [
        {
            "name": "ScrollerProps",
            "desc": "",
            "fields": [
                {
                    "name": "...",
                    "lua_type": "BaseProps",
                    "desc": ""
                },
                {
                    "name": "AutomaticCanvasSize",
                    "lua_type": "Fusion.UsedAs<Enum.AutomaticSize>?",
                    "desc": ""
                },
                {
                    "name": "BottomImage",
                    "lua_type": "Fusion.UsedAs<string>?",
                    "desc": ""
                },
                {
                    "name": "CanvasPosition",
                    "lua_type": "Fusion.UsedAs<Vector2>?",
                    "desc": ""
                },
                {
                    "name": "CanvasSize",
                    "lua_type": "Fusion.UsedAs<UDim2>?",
                    "desc": ""
                },
                {
                    "name": "ElasticBehavior",
                    "lua_type": "Fusion.UsedAs<Enum.ElasticBehavior>?",
                    "desc": ""
                },
                {
                    "name": "HorizontalScrollBarInset",
                    "lua_type": "Fusion.UsedAs<Enum.ScrollBarInset>?",
                    "desc": ""
                },
                {
                    "name": "MidImage",
                    "lua_type": "Fusion.UsedAs<string>?",
                    "desc": ""
                },
                {
                    "name": "ScrollBarImageColor3",
                    "lua_type": "Fusion.UsedAs<Color3>?",
                    "desc": ""
                },
                {
                    "name": "ScrollBarImageTransparency",
                    "lua_type": "Fusion.UsedAs<number>?",
                    "desc": ""
                },
                {
                    "name": "ScrollBarThickness",
                    "lua_type": "Fusion.UsedAs<number>?",
                    "desc": ""
                },
                {
                    "name": "ScrollingDirection",
                    "lua_type": "Fusion.UsedAs<Enum.ScrollingDirection>?",
                    "desc": ""
                },
                {
                    "name": "ScrollingEnabled",
                    "lua_type": "Fusion.UsedAs<boolean>?",
                    "desc": ""
                },
                {
                    "name": "TopImage",
                    "lua_type": "Fusion.UsedAs<string>?",
                    "desc": ""
                },
                {
                    "name": "VerticalScrollBarInset",
                    "lua_type": "Fusion.UsedAs<Enum.ScrollBarInset>?",
                    "desc": ""
                },
                {
                    "name": "VerticalScrollBarPosition",
                    "lua_type": "Fusion.UsedAs<Enum.VerticalScrollBarPosition>?",
                    "desc": ""
                }
            ],
            "source": {
                "line": 58,
                "path": "src/Components/Scroller.luau"
            }
        }
    ],
    "name": "Scroller",
    "desc": "For making Content scrollable. Equivalent to Roblox's `Scroller` instance.",
    "source": {
        "line": 6,
        "path": "src/Components/Scroller.luau"
    }
}