function ScrollFrame(Scope: Scope): (props: ScrollFrameProperties) -> Frame
Initializes the component and returns a new function to create that component, which is a BaseScrollFrame, but has properties that will determine the CanvasSize for the BaseScrollFrame.
Default Syntax
local ScrollFrameComponent = require(StudioComponents.ScrollFrame)
local ScrollFrame = ScrollFrameComponent(Scope)
Shorthand
local ScrollFrame = require(StudioComponents.ScrollFrame)(Scope)
Parameters
Scope: Scope |
The Scope the component will be initialized in. |
Returns Function
Parameters
props: ScrollFrameProperties |
The table which contains the properties of the component that will be created. |
Returns