function Slider(Scope: Scope): (props: SliderProperties) -> Frame
Initializes the component and returns a new function to create that component, which is a slider that reacts to being dragged.
Default Syntax
local SliderComponent = require(StudioComponents.Slider)
local Slider = SliderComponent(Scope)
Shorthand
local Slider = require(StudioComponents.Slider)(Scope)
Parameters
Scope: Scope |
The Scope the component will be initialized in. |
Returns Function
Parameters
props: SliderProperties |
The table which contains the properties of the component that will be created. |
Returns