Documentation

Loading extends Component
in package

Table of Contents

$isActive  : bool
$message  : string
__construct()  : void
Create a new Loading component instance.
render()  : View|string
Get the view / contents that represent the component.

Properties

$isActive

public bool $isActive = false

$message

public string $message = "Loading"

Methods

__construct()

Create a new Loading component instance.

public __construct([string $message = "Loading" ][, bool $isActive = false ]) : void
Parameters
$message : string = "Loading"

The loading message to display (default: "Loading")

$isActive : bool = false

Whether the loading state is active (default: false)

Return values
void

render()

Get the view / contents that represent the component.

public render() : View|string
Return values
View|string

Search results