\TbHeroUnit

## Class TbHeroUnit

Modest bootstrap hero unit widget. Thanks to Christphe Boulain for suggesting content capturing.

Summary

Methods
Properties
Constants
init()
run()
$heading
$encodeHeading
$htmlOptions
$headingOptions
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$heading

$heading : string

Type

string — the heading text.

$encodeHeading

$encodeHeading : boolean

Type

boolean — indicates whether to encode the heading.

$htmlOptions

$htmlOptions : array

Type

array — the HTML attributes for the widget container.

$headingOptions

$headingOptions : array

Type

array — the HTML attributes for the heading element.

Methods

init()

init()

### .init()

Initializes the widget.

run()

run()

### .run()

Runs the widget.