Documentation

Features extends Component
in package

Table of Contents

$classes  : string
$icon  : string|null
$items  : mixed
$label  : mixed
$size  : int
$tagColor  : string
$tagIcon  : string
$tagSize  : string
__construct()  : void
Create a new Features component instance.
render()  : View|string
Get the view / contents that represent the component.

Properties

$classes

public string $classes = 'has-text-black'

$tagColor

public string $tagColor = 'is-success'

$tagIcon

public string $tagIcon = 'fa-check'

$tagSize

public string $tagSize = 'is-small'

Methods

__construct()

Create a new Features component instance.

public __construct([mixed $items = null ][, mixed $label = null ][, string $classes = 'has-text-black' ][, string $tagColor = 'is-success' ][, string $tagIcon = 'fa-check' ][, string $tagSize = 'is-small' ][, string|null $icon = null ][, int $size = 7 ]) : void
Parameters
$items : mixed = null

The collection or array of feature items to display

$label : mixed = null

The label for the features section

$classes : string = 'has-text-black'

CSS classes for styling (default: 'has-text-black')

$tagColor : string = 'is-success'

Color class for feature tags (default: 'is-success')

$tagIcon : string = 'fa-check'

Icon class for feature tags (default: 'fa-check')

$tagSize : string = 'is-small'

Size class for feature tags (default: 'is-small')

$icon : string|null = null

Optional icon for the features section (default: 'short_text')

$size : int = 7
Return values
void

render()

Get the view / contents that represent the component.

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

Search results