ButtonDelete
extends Component
in package
Table of Contents
- $action : string
- $class : string|null
- $confirmMessage : string|null
- $icon : string
- $isArchive : bool
- $title : string|null
- __construct() : mixed
- Create a new component instance.
- render() : View|Closure|string
- Get the view / contents that represent the component.
Properties
$action
public
string
$action
$class
public
string|null
$class
= null
$confirmMessage
public
string|null
$confirmMessage
= null
$icon
public
string
$icon
$isArchive
public
bool
$isArchive
= false
$title
public
string|null
$title
= null
Methods
__construct()
Create a new component instance.
public
__construct(string $action[, bool $isArchive = false ][, string|null $confirmMessage = null ][, string|null $class = null ][, string|null $title = null ]) : mixed
Parameters
- $action : string
- $isArchive : bool = false
- $confirmMessage : string|null = null
- $class : string|null = null
- $title : string|null = null
Return values
mixed —render()
Get the view / contents that represent the component.
public
render() : View|Closure|string