Text
extends Component
in package
Table of Contents
- $addon : string|null
- $class : string
- $hint : string|null
- $icon : string
- $id : string
- $label : string|null
- $name : string
- $placeholder : string|null
- $value : string|null
- __construct() : mixed
- Create a new component instance
- render() : View|string
- Get the view / contents that represent the component.
Properties
$addon
public
string|null
$addon
= null
$class
public
string
$class
$hint
public
string|null
$hint
= null
$icon
public
string
$icon
$id
public
string
$id
$label
public
string|null
$label
= null
$name
public
string
$name
$placeholder
public
string|null
$placeholder
= null
$value
public
string|null
$value
= null
Methods
__construct()
Create a new component instance
public
__construct(string $name[, string $value = null ][, string $id = null ][, mixed $label = null ][, mixed $icon = 'text_fields' ][, string $placeholder = null ][, string $classes = null ][, string $hint = null ][, string $addon = null ]) : mixed
Parameters
- $name : string
- $value : string = null
- $id : string = null
- $label : mixed = null
- $icon : mixed = 'text_fields'
- $placeholder : string = null
- $classes : string = null
- $hint : string = null
- $addon : string = null
Return values
mixed —render()
Get the view / contents that represent the component.
public
render() : View|string