Class: HeadingComponent

HeadingComponent(dataObject, optionsopt)

HeadingComponent represents a title or heading made up only of text.

Constructor

new HeadingComponent(dataObject, optionsopt)

Parameters:
Name Type Attributes Default Description
dataObject DataObject null
options Object <optional>
{} See the TextComponent.constructor options, including dynamic text formatting.
Source:
Examples

Use static text

const headingComponent = new HeadingComponent(undefined, {
	text: 'Welcome to Bink'
})

Use bound text

const headingComponent = new HeadingComponent(yourDataModel, {
	dataField: 'title'
})