Documentation

MediaSelect extends Component

Table of Contents

$defaultLabel  : string|null
$defaultSrc  : mixed
$hint  : string|null
$id  : string
$label  : string|null
$name  : string
$options  : mixed
$placeholder  : string|null
$preview  : bool
$value  : string|null
__construct()  : mixed
Create a new component instance.
render()  : View|string
Get the view / contents that represent the component.

Properties

$defaultLabel

public string|null $defaultLabel = null

Methods

__construct()

Create a new component instance.

public __construct(string $name[, mixed $options = [] ][, string $value = null ][, string $id = null ][, bool $label = null ][, string $placeholder = 'Select' ][, string $hint = null ][, bool $preview = true ]) : mixed
Parameters
$name : string
$options : mixed = []
$value : string = null
$id : string = null
$label : bool = null
$placeholder : string = 'Select'
$hint : string = null
$preview : bool = true
Return values
mixed

render()

Get the view / contents that represent the component.

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

Search results