SaveCancel
extends Component
in package
Table of Contents
- $cancel : mixed
- $cancelAction : string
- $cancelIcon : string
- $save : mixed
- $saveAction : string
- $saveIcon : string
- $size : string
- __construct() : mixed
- Create a new component instance.
- render() : View|Closure|string
- Get the view / contents that represent the component.
Properties
$cancel
public
mixed
$cancel
= 'Cancel'
$cancelAction
public
string
$cancelAction
= 'cancel'
$cancelIcon
public
string
$cancelIcon
= 'close'
$save
public
mixed
$save
= 'Save'
$saveAction
public
string
$saveAction
= 'save'
$saveIcon
public
string
$saveIcon
= 'save'
$size
public
string
$size
= "are-normal"
Methods
__construct()
Create a new component instance.
public
__construct([mixed $save = 'Save' ][, string $saveAction = 'save' ][, string $saveIcon = 'save' ][, mixed $cancel = 'Cancel' ][, string $cancelAction = 'cancel' ][, string $cancelIcon = 'close' ][, string $size = "are-normal" ]) : mixed
Parameters
- $save : mixed = 'Save'
- $saveAction : string = 'save'
- $saveIcon : string = 'save'
- $cancel : mixed = 'Cancel'
- $cancelAction : string = 'cancel'
- $cancelIcon : string = 'close'
- $size : string = "are-normal"
Return values
mixed —render()
Get the view / contents that represent the component.
public
render() : View|Closure|string