ImagePicker
extends Component
in package
Table of Contents
- $aspectRatio : float|null
- $controls : bool
- $id : string
- $isCapture : bool
- $name : string
- $rotate : int
- $src : string|null
- __construct() : mixed
- Create a new component instance
- render() : View|Closure|string
- Get the view / contents that represent the component.
Properties
$aspectRatio
public
float|null
$aspectRatio
$controls
public
bool
$controls
$id
public
string
$id
$isCapture
public
bool
$isCapture
$name
public
string
$name
$rotate
public
int
$rotate
$src
public
string|null
$src
Methods
__construct()
Create a new component instance
public
__construct(string $name[, string $src = null ][, int $rotate = 10 ][, bool $controls = true ][, bool $isCapture = false ][, float $aspectRatio = null ]) : mixed
Parameters
- $name : string
- $src : string = null
- $rotate : int = 10
- $controls : bool = true
- $isCapture : bool = false
- $aspectRatio : float = null
Return values
mixed —render()
Get the view / contents that represent the component.
public
render() : View|Closure|string