function Loading(Scope: Scope): (props: LoadingProperties) -> Frame
Initializes the component and returns a new function to create that component, which is an animated component to display whilst something else loads.
Default Syntax
local LoadingComponent = require(StudioComponents.Loading)
local Loading = LoadingComponent(Scope)
Shorthand
local Loading = require(StudioComponents.Loading)(Scope)
Parameters
Scope: Scope |
The Scope the component will be initialized in. |
Returns Function
Parameters
props: LoadingProperties |
The table which contains the properties of the component that will be created. |
Returns