Skip to content

VerticalCollapsibleSection :function

function VerticalCollapsibleSection(Scope: Scope): (props: VerticalCollapsibleSectionProperties) -> Frame
Initializes the component and returns a new function to create that component, which is a frame that contains a header and a content frame. The content frame can be collapsed by clicking on the header.

Default Syntax

local VerticalCollapsibleSectionComponent = require(StudioComponents.VerticalCollapsibleSection)
local VerticalCollapsibleSection = VerticalCollapsibleSectionComponent(Scope)

Shorthand

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

Parameters

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

Returns Function

Parameters

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

Returns

Frame