Documentation

Postx extends Component
in package

Table of Contents

$color  : string
$confirm  : string
$icon  : string
$postData  : mixed
$processing  : string
$route  : mixed
$title  : string|null
$tooltip  : string|null
__construct()  : mixed
Create a new component instance.
render()  : View|string
Get the view / contents that represent the component.

Properties

$confirm

public string $confirm

$postData

public mixed $postData

$processing

public string $processing

$title

public string|null $title = null

$tooltip

public string|null $tooltip = null

Methods

__construct()

Create a new component instance.

public __construct(string|array<string|int, mixed> $route[, bool $confirm = false ][, string $icon = 'fa-check' ][, string $color = 'is-primary' ][, string $title = null ][, string $tooltip = null ][, array<string|int, mixed>|null $postData = null ][, bool $processing = false ]) : mixed
Parameters
$route : string|array<string|int, mixed>
$confirm : bool = false
$icon : string = 'fa-check'
$color : string = 'is-primary'
$title : string = null
$tooltip : string = null
$postData : array<string|int, mixed>|null = null
$processing : bool = false
Return values
mixed

render()

Get the view / contents that represent the component.

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

Search results