Skip to content

BaseScrollFrame :function

function BaseScrollFrame(Scope: Scope): (props: BaseScrollFrameProperties) -> Frame
Initializes the component and returns a new function to create that component, which is a custom scrolling frame that uses Roblox's ScrollingFrame for input and padding.

Default Syntax

local ScrollFrameComponent = require(StudioComponents.BaseScrollFrame)
local BaseScrollFrame = ScrollFrameComponent(Scope)

Shorthand

local BaseScrollFrame = require(StudioComponents.BaseScrollFrame)(Scope)

Parameters

Scope: Scope The Scope the component will be initialized in.

Returns Function

Parameters

props: BaseScrollFrameProperties The table which contains the properties of the component that will be created.

Returns

Frame