subtitle

Specifies a subtitle for the widget.

Type:

Object

|

String

Use this property to set the text to be displayed as a widget subtitle (the text below the title). If you need to specify the subtitle's font, assign an object to the subtitle property with the required options specified. In this instance, set the subtitle's text using the text property.

font

Specifies font options for the subtitle.

Type:

Object

text

Specifies text for the subtitle.

Type:

String

Default Value: null