InfoList
extends Component
in package
Table of Contents
- $contentClasses : string|null
- $items : mixed
- $labelClasses : string|null
- __construct() : void
- Create a new InfoList component instance.
- render() : View|string
- Get the view / contents that represent the component.
Properties
$contentClasses
public
string|null
$contentClasses
= null
$items
public
mixed
$items
$labelClasses
public
string|null
$labelClasses
= 'is-italic has-text-info-dark has-text-right'
Methods
__construct()
Create a new InfoList component instance.
public
__construct(mixed $items[, string|null $labelClasses = 'is-italic has-text-info-dark has-text-right' ][, string|null $contentClasses = null ]) : void
Parameters
- $items : mixed
-
List of items to display in the info list
- $labelClasses : string|null = 'is-italic has-text-info-dark has-text-right'
-
CSS classes for the labels (default: 'is-italic has-text-info-dark has-text-right')
- $contentClasses : string|null = null
-
CSS classes for the content/values
Return values
void —render()
Get the view / contents that represent the component.
public
render() : View|string